switch (expression)
Steven Ryan
smryan at garth.UUCP
Sat Jul 16 06:30:44 AEST 1988
>I have no idea why I wrote that. That should be:
>
> reg = i-1
> if ((unsigned)reg > 36) goto default
We're professionals--let some programming aide drudge sweat the details.
Actually, there's a cute way to fold default cases to a specific index. I
don't remember and I don't feel like working it out, but it's another example
of substituting a simple, pipe smashing jump with complicated inline sequence.
another fine specification from
s m ryan
More information about the Comp.std.c
mailing list