Skip to content
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

fix poll-allocator alignment problem #221

Merged
merged 1 commit into from
Dec 26, 2023

Conversation

qq422216549
Copy link

when using DistanceType = double; the struct Node need 8byte aligned.
if I use a 32bit system,class PooledAllocator only can alloc 4byte aligned memory.it cause low-performance mem access.

@jlblancoc jlblancoc merged commit 52191e1 into jlblancoc:master Dec 26, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants