Well the hash table does not take ownership of the `cstring` keys which could be exactly what you want. There is a specialized version of `hash` for `cstring` so go right ahead, it should just work.
- cstring as key in tables zack
- cstring as key in tables Araq