Max Kirillov writes: >> [...] I will generate large case statements like the >> first form and want to know if I should bother >> pre-optimizing it to the second. > I suppose such things should be made by flex-style > generators. If you don't mind using FFI, the tool of choice would probably be <http://www.gnu.org/software/gperf/>. Peter