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

Reduce memory overhead of vector IDs #16

Open
cmdevries opened this issue Oct 11, 2014 · 0 comments
Open

Reduce memory overhead of vector IDs #16

cmdevries opened this issue Oct 11, 2014 · 0 comments
Milestone

Comments

@cmdevries
Copy link
Owner

There is some memory overhead on vectors.

std::string is around 32 bytes and we use this for a vector ID, but vectors are usually 512 bytes at most. So make the ID a template parameter and switch to char* for strings.

@cmdevries cmdevries added this to the efficiency milestone Oct 11, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant