It's easier to read, and more performant:
pkg: github.com/distribution/distribution/v3/reference
BenchmarkExpression
BenchmarkExpression-10 10474380 97.32 ns/op 64 B/op 4 allocs/op
BenchmarkJoin
BenchmarkJoin-10 27722588 42.71 ns/op 24 B/op 1 allocs/op
PASS
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
|
||
|---|---|---|
| .. | ||
| fuzz.go | ||
| helpers.go | ||
| normalize.go | ||
| normalize_test.go | ||
| reference.go | ||
| reference_test.go | ||
| regexp.go | ||
| regexp_test.go | ||
| sort.go | ||
| sort_test.go | ||