forked from mono/mono
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make mkbundle bundle assemblies a lot faster.
Preallocate the 256 different lines we might write to the assembly file instead of allocating several strings for every line. With compression mkbundle is about twice as fast now (since compression speed hasn't changed), without compression it's 5-10x faster, depending on the number of assemblies to embed.
- Loading branch information
1 parent
be4ef5f
commit a7f9abb
Showing
1 changed file
with
27 additions
and
26 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