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

FlatDictionary decrease memory consumption #22041

Open
kitaisreal opened this issue Mar 23, 2021 · 0 comments
Open

FlatDictionary decrease memory consumption #22041

kitaisreal opened this issue Mar 23, 2021 · 0 comments
Labels

Comments

@kitaisreal
Copy link
Collaborator

Currently for each dictionary attribute we allocate array, and we also have loaded ids array. Loaded ids and attributes arrays size equals to greatest fetched index from source.
This is suboptimal because we can insert in attributes values only for keys that are actually fetched from source, in loaded ids array we store index of element in attributes array.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants