-
Notifications
You must be signed in to change notification settings - Fork 550
New issue
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
Use Unsafe.SizeOf to calculate object sizes #39
Conversation
nvm. There apparently was a Tsavorite.test project that is not visible in the normal project solution view. Fixing.. |
libs/storage/Tsavorite/cs/src/core/Allocator/BlittableAllocator.cs
Outdated
Show resolved
Hide resolved
...Tsavorite/cs/src/core/Index/Tsavorite/Implementation/Revivification/RevivificationManager.cs
Show resolved
Hide resolved
Yes, there are too many tests in Tsavorite.test and that degrades the dev experience for Garnet, so those tests are not included in the Garnet solution. They are limited to Tsavorite. Tsavorite CI kicks off if any changes to Tsavorite folder are detected. |
Fixes potential GC hole by using BCL's
Unsafe.SizeOf<T>()
to calculate sizes for given type parameter more safely 😆.Contributes to #38