Skip to content

lzma_rust2 binding: report memory usage for the stream, auto, alone and lzip decoders - #227

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_1008872197
Open

copybara-service[bot] wants to merge 1 commit into
mainfrom
test_1008872197

Conversation

@copybara-service

Copy link
Copy Markdown

lzma_rust2 binding: report memory usage for the stream, auto, alone and lzip decoders

lzma_memusage reported 0 for every decoder that learns its dictionary size from the input.
It now returns the crate's memory_usage(), the figure checked against the memory limit, once
the header that decides it has been parsed; the auto decoder answers for the format it
detected.

@google-cla

google-cla Bot commented Oct 28, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@copybara-service
copybara-service Bot force-pushed the test_1008872197 branch 3 times, most recently from dacedb0 to 3704f4d Compare October 29, 2026 08:37
…nd lzip decoders

`lzma_memusage` reported 0 for every decoder that learns its dictionary size from the input.
It now returns the crate's `memory_usage()`, the figure checked against the memory limit, once
the header that decides it has been parsed; the auto decoder answers for the format it
detected.

PiperOrigin-RevId: 1008872197
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant