Hello bearophile,

This is just a possible optimization, it's not a new feature request.

A perfect hash computed at compile time can be good to implement the
string switches, I have created a small benchmark:

Have you compared it to a decisition tree or lex style state mechine?


Reply via email to