Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chimera: avoid extra byte array creation during inode2bytes conversion
Motivation: we create a an array with a fixed size and later on creating a copy of a part of it with significant data. Modification: pre-calculate byte array size and avoid copy. Result: no visible changes. Acked-by: Gerd Behrmann Target: master Require-book: no Require-notes: no
- Loading branch information
Showing
1 changed file
with
14 additions
and
5 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