mirror of
https://github.com/prometheus/prometheus
synced 2024-12-28 09:42:22 +00:00
0bb5588386
Use a stack buffer to reduce memory allocations. `Write(AppendQuote(AvailableBuffer` does not allocate or copy when the buffer has sufficient space. Also add a benchmark, with some refactoring. Signed-off-by: Bryan Boreham <bjboreham@gmail.com> |
||
---|---|---|
.. | ||
labels_common.go | ||
labels_dedupelabels.go | ||
labels_stringlabels.go | ||
labels_test.go | ||
labels.go | ||
matcher_test.go | ||
matcher.go | ||
regexp_test.go | ||
regexp.go | ||
sharding_dedupelabels.go | ||
sharding_stringlabels.go | ||
sharding_test.go | ||
sharding.go | ||
test_utils.go |