In that case one really should know what one is doing. And Nim is not Python.
"string pooling" is enabled for the gcc backend, and the question is how big the overhead by the hash table is? A pointer is already 4 or 8 byte in size. No idea from me, sorry.