-
Notifications
You must be signed in to change notification settings - Fork 33
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
Fix voloctree mapper #67
Conversation
Changes to the .gitignore file doesn't belong to this pull request. Mapping info can be large, can we avoid making the copy? Something along the lines with (not tested):
|
cec1db5
to
4772193
Compare
Your proposal is not aligned with the code; erasing a whole info item is not an option here. |
I don't fully understand the updated code; I don't see were the iterators are updated when you are deleting an entry. I would expect something like the following:
Anyways, I haven't look at what the code does except for the small portion changed by the patch, so if your code is tested and works that's fine with me. Also, if you are deleting single entries in a vector, you original code my be faster (I thought you were deleting the whole vectors). |
Ah, you're right, thanks. I'm pushing the fixed version. |
4772193
to
a9712e3
Compare
a9712e3
to
52b1fc7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've split the changes in two commits and updated the coding style. I will merge as soon as the tests finish.
Fix inverse mapping re-communication