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

Memory estimation for index #280

Open
LHT129 opened this issue Dec 30, 2024 · 0 comments
Open

Memory estimation for index #280

LHT129 opened this issue Dec 30, 2024 · 0 comments
Assignees
Labels
kind/feature New feature or request version/0.13

Comments

@LHT129
Copy link
Collaborator

LHT129 commented Dec 30, 2024

when an index is created, the memory usage overhead of different data sizes is basically fixed, so it is feasible to support its memory estimation.

Add interface for index:

virtual uint64_t
EstimateMemory(const uint64_t num_elements) const

following PRs:
#282
#289

@LHT129 LHT129 added kind/feature New feature or request version/0.13 labels Dec 30, 2024
@LHT129 LHT129 self-assigned this Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature New feature or request version/0.13
Projects
None yet
Development

No branches or pull requests

1 participant