strtr: > Wouldn't perfect hashing for compile time AAs be a better starting point? AA keys can be all kind of things, while here I was talking just about perfect hashing of strings, it's a bit less complex problem. So I think it's better to start from string switch first and go on CT AAs later. Bye, bearophile