Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Using slices of spaces instead of regular padding can speed things up even more, though it's a little more invasive; we need to be able to obtain the value of an enum as a static string to avoid dynamically calculating its length. Before: time ( target/release/examples/dwarfdump -i ~/mozilla-central/obj-ff-opt/dist/bin/libxul.so >& /dev/null ) real 2m21.745s user 2m20.175s sys 0m1.412s After: time ( target/release/examples/dwarfdump -i ~/mozilla-central/obj-ff-opt/dist/bin/libxul.so >& /dev/null ) real 1m39.153s user 1m37.714s sys 0m1.320s
- Loading branch information
1 parent
8a023cc
commit f138c5b
Showing
2 changed files
with
26 additions
and
9 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
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