stringpool / string interning

qznc qznc at web.de
Sat Jan 11 05:16:58 PST 2014


I would like to efficiently compare lots of strings. The usual 
approach is String-interning as Java calls it. After a string is 
"interned" they can be compared via just a single pointer 
comparison instead of comparing char by char.

I have not found anything like that in Phobos. Somebody already 
implemented something like this?


More information about the Digitalmars-d-learn mailing list