Uh oh!
There was an error while loading. Please reload this page.
gh-132983: Remove EndlessZstdDecompressor remains - #133856
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Thanks @Rogdham for the PR, and @AA-Turner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14. |
…nGH-133856) (cherry picked from commit 878e0fb) Co-authored-by: Rogdham <3994389+Rogdham@users.noreply.github.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
GH-133859 is a backport of this pull request to the 3.14 branch. |
…33856) (#133859) gh-132983: Remove leftovers from EndlessZstdDecompressor (GH-133856) (cherry picked from commit 878e0fb) Co-authored-by: Rogdham <3994389+Rogdham@users.noreply.github.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
…n#133856) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
…n#133856) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
cc @emmatyping@AA-Turner (can't request review)
In
pyzstdthere was anEndlessZstdDecompressorclass implemented in the C module. Some remains of the code were left, this PR aims to remove them.In the comments,
<D>refers toZstdDecompressorwhereas<E>refers toEndlessZstdDecompressor. I cleaned that up as well.There was
_unused_char_for_alignin theZstdDecompressorstruct. My understanding is that it was placed only for optimization indecompressor_reset_sessionwhen setting several attributes to 0 at once. I removed it here, but if needed I can re-add it (twice to compensate the removal ofat_frame_edge).