MUD-Dev
mailing list archive
[ Other Periods
| Other mailing lists
| Search
]
Date:
[ Previous
| Next
]
Thread:
[ Previous
| Next
]
Index:
[ Author
| Date
| Thread
]
[MUD-Dev] Re: Question on c++ switch optimization, and parsers i
[Ben Greear:]
>> Instead of the array mapping to enums, why not map to funtion pointers?
>
>Cause all my methods have different signatures..
This is one of the few cases where I feel justified in using type-cheating
casts. The intent is clear, and it saves a whole lot of rigamarole. I
presume you can still do that in C++.
--
Don't design inefficiency in - it'll happen in the implementation. - me
Chris Gray cg#ami-cg,GraySage.Edmonton.AB.CA
http://www.GraySage.Edmonton.AB.CA/cg/
- Thread context:
- [MUD-Dev] Re: Question on c++ switch optimization, and parsers in general., (continued)
- [MUD-Dev] Re: Question on c++ switch optimization, and parsers i,
Chris Gray cg#ami-cg,GraySage.Edmonton.AB.CA, Mon 08 Feb 1999, 06:11 GMT
- [MUD-Dev] Question on c++ switch optimization, and parsers in general.,
Ben Greear greear#cyberhighway,net, Mon 08 Feb 1999, 05:32 GMT
- [MUD-Dev] Re: Question on c++ switch optimization, and parsers i,
Jon A. Lambert jlsysinc#ix,netcom.com, Mon 08 Feb 1999, 05:56 GMT
- [MUD-Dev] Re: Question on c++ switch optimization, and parsers in general.,
Ola Fosheim Grøstad olag#ifi,uio.no, Mon 08 Feb 1999, 16:53 GMT
[ Other Periods
| Other mailing lists
| Search
]