mirror of
https://github.com/distribution/distribution
synced 2024-11-12 05:45:51 +01:00
f0c7c97e73
The remaining uses of "expression()" were quite trivial; probably goes without saying, but just using string-concatenating for these is more performant as well, and removing the extra abstraction may make it easier to read; pkg: github.com/distribution/distribution/v3/reference BenchmarkExpression BenchmarkExpression-10 27260877 43.10 ns/op 24 B/op 1 allocs/op BenchmarkConcat BenchmarkConcat-10 1000000000 0.3154 ns/op 0 B/op 0 allocs/op PASS ok github.com/distribution/distribution/v3/reference 1.762s Signed-off-by: Sebastiaan van Stijn <github@gone.nl> |
||
---|---|---|
.. | ||
fuzz.go | ||
helpers.go | ||
normalize_test.go | ||
normalize.go | ||
reference_test.go | ||
reference.go | ||
regexp_test.go | ||
regexp.go | ||
sort_test.go | ||
sort.go |