-
Notifications
You must be signed in to change notification settings - Fork 293
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce excessive copying in Compression Streams API
In the Compression Streams API, introduce a helper class to only shift output data when this would reduce output vector size significantly. This results in the leading bytes of the output vector becoming invalid when reading only parts of it, which requires careful tracking but avoids having to move the output data with every read from the buffer.
- Loading branch information
Showing
1 changed file
with
64 additions
and
15 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