Skip to content

fix poll-allocator alignment problem#221

Merged
jlblancoc merged 1 commit intojlblancoc:masterfrom
qq422216549:clz-nanoflann
Dec 26, 2023
Merged

fix poll-allocator alignment problem#221
jlblancoc merged 1 commit intojlblancoc:masterfrom
qq422216549:clz-nanoflann

Conversation

@qq422216549
Copy link
Copy Markdown

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.

Comment thread include/nanoflann.hpp
@jlblancoc jlblancoc merged commit 52191e1 into jlblancoc:master Dec 26, 2023
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