-
Notifications
You must be signed in to change notification settings - Fork 44
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
Calling get_* multiple times causes dups #2
Comments
Great idea but its advisable for user calling getters to store them to prevent elf_parser.cpp from holding large parsed data within the program |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Parser’s getters are not guarded against multiple calls and not only repeat unnecessary parsing over and over but also populate data vectors with duplicate entries.
At least it would be nice to clean vectos before parsing
At best it may makes sense to cache results
The text was updated successfully, but these errors were encountered: