Advice on symbol -> int mapping in C.
Jeff Sparkes
jsparkes at gmail.com
Sun May 15 10:54:26 EDT 2011
I have a few sets of data I'd like to look up by name and get an integer
back.
I've been using alists because they're convenient and easy to look at for
debugging.
I've just created a list of gtk-cursor-names with 77 values. Should I think
about using
a hash table? The values aren't looked up very often. And luckily a
default hash
table does what I want; calling make-hash-table with keywords from C appears
scary.
The is really more of a style question than an efficiency question.
--
Jeff Sparkes
jsparkes at gmail.com
More information about the XEmacs-Beta
mailing list