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 Fix Matcher.String() with empty label name 2024-06-13 18:46:35 +02:00
matcher_test.go Quote label name in matchers when needed 2024-05-08 16:58:51 +02:00
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 Add ShardedPostings() support to TSDB (#10421) 2024-01-29 11:57:27 +00:00
test_utils.go Labels: Call NewScratchBuilder in test_utils 2024-02-23 13:50:27 +00:00