forked from mvdan/sh
-
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.
expand: join NameRef with Kind in Variable
Nameref variables always contain strings, so it's more appropriate to describe them with a value kind instead of a boolean attribute applying to all value kinds. This also means we can fit Kind in the space left by the removed boolean, recovering about a third of the extra weight added to Variable by the previous commit. name old time/op new time/op delta Run-8 1.45ms ± 1% 1.45ms ± 1% ~ (p=0.937 n=6+6) name old alloc/op new alloc/op delta Run-8 81.5kB ± 0% 80.8kB ± 0% -0.88% (p=0.002 n=6+6) name old allocs/op new allocs/op delta Run-8 882 ± 0% 881 ± 0% ~ (p=0.182 n=6+6)
- Loading branch information
Showing
5 changed files
with
16 additions
and
13 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
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
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