prometheus/model/labels
Bryan Boreham d84282b105 Labels: use single byte as separator - small speedup
Since `seps` is a variable, `seps[0]` has to be bounds-checked every
time. Replacing with a constant everywhere it is used skips this
overhead.

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-07-15 09:47:16 +01:00
..
labels.go Labels: use single byte as separator - small speedup 2024-07-15 09:47:16 +01:00
labels_common.go Labels: use single byte as separator - small speedup 2024-07-15 09:47:16 +01:00
labels_dedupelabels.go Labels: use single byte as separator - small speedup 2024-07-15 09:47:16 +01:00
labels_dedupelabels_test.go [PERF] Labels: faster varint for dedupelabels 2024-06-21 11:57:09 +01:00
labels_stringlabels.go Labels: use single byte as separator - small speedup 2024-07-15 09:47:16 +01:00
labels_test.go Labels benchmarks: remove artefact of small symbol-tables 2024-06-21 16:49:10 +01:00
matcher.go
matcher_test.go
regexp.go [ENHANCEMENT] Optimize regexps with multiple prefixes (#13843) 2024-07-03 18:45:36 +01:00
regexp_test.go [ENHANCEMENT] Optimize regexps with multiple prefixes (#13843) 2024-07-03 18:45:36 +01:00
sharding.go Labels: use single byte as separator - small speedup 2024-07-15 09:47:16 +01:00
sharding_dedupelabels.go Labels: use single byte as separator - small speedup 2024-07-15 09:47:16 +01:00
sharding_stringlabels.go Labels: use single byte as separator - small speedup 2024-07-15 09:47:16 +01:00
sharding_test.go
test_utils.go