SuperString
SuperString copied to clipboard
Bug of pointer's memory occupied
the bug will appear if you choose to compile with x64 instead x86
because 1 pointer take 4 bytes in x86, take 8 bytes in x64
So if I want to compile with x64, I have to do like this way
"unsigned long long" take 8 bytes,same as the pointer
Thank you for pointing this out. I will fix this soon. I will also consider moving to shared pointer instead of the reference-counting we implemented.
Feel free to report more issues if there are (mainly in x64) or pull requests.