-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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 for DS_IntermediateDecode modifying live prefixes in DecoderState #2184
Conversation
@eggonlea can you try this fix and verify if it fixes the bug you found? |
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.
Works as expected with different "--stream size".
But copying all prefixes and creating new maps is time consuming. The smaller stream size, the lower efficiency. It would be great if we can avoid the copy at all.
Yes, it is. I'm trying to design a better way of fixing this, the PathTrie makes it a bit tricky. |
Although it should only really matter if you call intermediate decode very often. |
c1d2d52
to
04997ac
Compare
@lissyx the crux of the problem here is that in |
r+ |
04997ac
to
080928c
Compare
080928c
to
37b82f9
Compare
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
No description provided.