forked from spf13/viper
-
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.
Restore performance for the simple case
``` benchmark old ns/op new ns/op delta BenchmarkGetBool-4 1021 479 -53.09% BenchmarkGetBoolFromMap-4 6.56 6.39 -2.59% benchmark old allocs new allocs delta BenchmarkGetBool-4 6 4 -33.33% BenchmarkGetBoolFromMap-4 0 0 +0.00% benchmark old bytes new bytes delta BenchmarkGetBool-4 113 49 -56.64% BenchmarkGetBoolFromMap-4 0 0 +0.00% ``` Fixes spf13#249 Fixes gohugoio/hugo#2536
- Loading branch information
Showing
2 changed files
with
133 additions
and
40 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