We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Important to remember that LMDB data is practically not aligned (to 2-bytes in dupsorted from 2014 comments from googling). Issue is here to review later that now data is returned without https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.unaligned?view=netframework-4.7.2
We must use (review usage if already) Unsafe.ReadUnaligned for any pointer read to T.
Unsafe.ReadUnaligned
T
For Intel x64 it's ~noop and for others it's correctness issue, so performance doesn't matter.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Important to remember that LMDB data is practically not aligned (to 2-bytes in dupsorted from 2014 comments from googling). Issue is here to review later that now data is returned without https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.opcodes.unaligned?view=netframework-4.7.2
We must use (review usage if already)
Unsafe.ReadUnaligned
for any pointer read toT
.For Intel x64 it's ~noop and for others it's correctness issue, so performance doesn't matter.
The text was updated successfully, but these errors were encountered: