[MUD-Dev] Re: Question on c++ switch optimization, and parsers in general.

Oliver Jowett icecube at ihug.co.nz
Tue Feb 9 10:29:25 New Zealand Daylight Time 1999

On Tue, 9 Feb 1999, I wrote:

> extern command_data *__start_cvs, *__stop_cvs;
> command_data **p;
> for (p = &__start_cvs; p < &__stop_cvs; p++) {
>   /* do something with (**p) */
> }

Err, those should be __start_commands and __stop_commands of course
(that'll teach me to try to write code immediately after waking up)


More information about the MUD-Dev mailing list