-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid heap allocating scratch buffer in compressio simple reader and …
…writer. The 4-byte scratch buffer variables in SimpleWriter.Write and SimpleReader.Read were being moved to heap because they were being passed into interface methods. Add a scratch buffer field to SimpleWriter and SimpleReader and use that. PiperOrigin-RevId: 669036236
- Loading branch information
1 parent
2511e2e
commit 431d299
Showing
1 changed file
with
14 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters