sort _realNamePairs from shortest to longest obfuscated name
This lets us only check names up to the remaining input string length. │ old │ new │ │ sec/op │ sec/op vs base │ AbiRealName-8 196.7µ ± 1% 172.3µ ± 1% -12.41% (p=0.001 n=7) │ old │ new │ │ B/s │ B/s vs base │ AbiRealName-8 1.774Mi ± 1% 2.022Mi ± 0% +13.98% (p=0.001 n=7) │ old │ new │ │ B/op │ B/op vs base │ AbiRealName-8 5.359Ki ± 0% 5.336Ki ± 0% -0.44% (p=0.001 n=7) │ old │ new │ │ allocs/op │ allocs/op vs base │ AbiRealName-8 19.00 ± 0% 18.00 ± 0% -5.26% (p=0.001 n=7)pull/892/head
parent
c012f08c66
commit
c83c5ce3e6
Loading…
Reference in New Issue