On Wed, 20 Jun 2007, Mikulas Patocka wrote:

> > Yay ! Let's map everything uncached from now on! For great justice!
> > 
> > [I was tempted to write some stuff about how keyboard keycode translation
> > works in wscons, but it's not worth my time]
> > 
> > Miod
> 
> You don't have to map keyboard map uncached, just change the way code is
> written --- instead of
> x = a[i]
> you write something like
> x = 0;
> for (j = 0; j < sizeof a/sizeof *a; j++) x |= a[j] & (-(i ^ j) >> 31) - 1;

What an improvement - that is so much more maintainable.

Reply via email to