SuperString icon indicating copy to clipboard operation
SuperString copied to clipboard

Bug of pointer's memory occupied

Open lanyeeee opened this issue 3 years ago • 1 comments

the bug will appear if you choose to compile with x64 instead x86 image image 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 image "unsigned long long" take 8 bytes,same as the pointer

lanyeeee avatar Jul 04 '21 04:07 lanyeeee

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.

btwael avatar Jul 04 '21 11:07 btwael