On Thu, 2007-05-31 at 18:46 +0200, Andreas Mohr wrote: > HCI_EMPTY is *by far* the most frequent state to occur I think > (users won't press keys all the time), thus it's probably better(?) > for branch prediction to have this placed first, right? > Not that it matters too much instruction-wise, but still... Sure. > Apart from that I'm very happy to see progress on this front > (speaking as a "proud" owner of an old Toshiba notebook requiring > this stuff). Good - this stuff should just work :-) > And I'd definitely move the multiple identical "Re-enabled hotkeys" parts > into one single non-inlined(!) function for the same reason. > Not to mention that it's BUTT UGLY to have the *same* fat > multi-line comment duplicated bazillion times. Agree. New patch (untested) attached. Thanks for review, Richard.