
14 Jun
2007
14 Jun
'07
6:23 p.m.
Jeremy Pack wrote:
We're going to test it using integer IDs for type info, and see what the result is. It may actually work with const char * instead of string as well.
It, const char * that is, won't work in at least msvc. What I've done in the past is do a hash of the type name for comparison. Of course if you really wanted to get fancy, you'd use a trie for the type map. -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo