registry/reference
Sebastiaan van Stijn f0c7c97e73
reference: remove remaining uses of "expression()"
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>
2022-11-20 15:11:33 +01:00
..
fuzz.go format code with gofumpt 2022-11-03 22:48:20 +01:00
helpers.go reference: ParseDockerRef: slight refactor, and update docs 2022-11-20 15:07:24 +01:00
normalize.go reference: document consts for normalizing and legacy domain 2022-11-20 15:07:24 +01:00
normalize_test.go reference: run tests with t.Parallel() 2022-11-18 21:17:56 +01:00
reference.go reference: ParseDockerRef: slight refactor, and update docs 2022-11-20 15:07:24 +01:00
reference_test.go reference: run tests with t.Parallel() 2022-11-18 21:17:56 +01:00
regexp.go reference: remove remaining uses of "expression()" 2022-11-20 15:11:33 +01:00
regexp_test.go reference: run tests with t.Parallel() 2022-11-18 21:17:56 +01:00
sort.go reference: ParseDockerRef: slight refactor, and update docs 2022-11-20 15:07:24 +01:00
sort_test.go reference: run tests with t.Parallel() 2022-11-18 21:17:56 +01:00