JustasMasiulis / xorstr

heavily vectorized c++17 compile time string encryption.
Apache License 2.0
1.19k stars 193 forks source link

Bug of pointer's memory occupied #42

Closed lanyeeee closed 3 years ago

lanyeeee commented 3 years ago

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

JustasMasiulis commented 3 years ago

Sorry, but how is this related to my xorstr library?

I think you might want to open the issue in https://github.com/btwael/SuperString and not here?

lanyeeee commented 3 years ago

It's embarrassing. It's in the wrong place. I'm sorry

JustasMasiulis commented 3 years ago

It's embarrassing. It's in the wrong place. I'm sorry

No problem. Mistakes happen.