prometheus/index
Ganesh Vernekar b5b8c9200c
Reuse string buffer in stringTuples.Swap (#654)
* Reuse string buffer when swapping stringTuples

This reduces the allocs of WriteLabelIndex significantly.

Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>

* Fix review comments

Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>

* Add CHANGELOG entry

Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
2019-07-10 11:58:28 +05:30
..
index.go Reuse string buffer in stringTuples.Swap (#654) 2019-07-10 11:58:28 +05:30
index_test.go fix some unchecked errors and remove unused vars. (#592) 2019-04-25 13:07:04 +03:00
postings.go Improvement on postings intersection (#616) 2019-06-11 10:14:25 +02:00
postings_test.go Improvement on postings intersection (#616) 2019-06-11 10:14:25 +02:00