optimization question

Peter Simons simons at cryp.to
Mon Feb 23 18:00:48 EST 2004


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



More information about the Glasgow-haskell-users mailing list