Skip to content

feat(entity/search): add LinearPool/BlockHeap, refac entity layout and access. - #450

Merged
luoxiaojian merged 5 commits into
alibaba:mainfrom
luoxiaojian:opt-merge
Jun 8, 2026
Merged

feat(entity/search): add LinearPool/BlockHeap, refac entity layout and access.#450
luoxiaojian merged 5 commits into
alibaba:mainfrom
luoxiaojian:opt-merge

Conversation

@luoxiaojian

Copy link
Copy Markdown
Collaborator

Introduce single-heap candidate structures (LinearPool/BlockHeap) and refactor greedy search to dispatch between pool and dual-heap paths. Split node layout into separate vector/graph arrays for better cache locality, add zero-copy get_vector_ptr() on the hot path, and extract huge-page allocation into MemoryHelper. Also adds pyglass attribution.

…y layout and add direct-pointer fast search path

Introduce single-heap candidate structures (LinearPool/BlockHeap) and
refactor greedy search to dispatch between pool and dual-heap paths.
Split node layout into separate vector/graph arrays for better cache
locality, add zero-copy get_vector_ptr() on the hot path, and extract
huge-page allocation into MemoryHelper. Also adds pyglass attribution.
@luoxiaojian
luoxiaojian merged commit dd4d811 into alibaba:main Jun 8, 2026
23 of 24 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