prometheus/model/relabel
Renning Bruns 5ec1b4baaf
make hashmod a lot easier to read and a little faster (#11551)
Previous code was effectively doing BigEndian.Uint64, so call that and save time.
An md5.Sum result is always 16 bytes. The first 8 are not used in the result, just as before.

Signed-off-by: Renning Bruns <ren@renmail.net>
2023-02-28 17:36:58 +00:00
..
relabel.go make hashmod a lot easier to read and a little faster (#11551) 2023-02-28 17:36:58 +00:00
relabel_test.go Update package model/relabel tests for new labels.Labels type 2022-12-19 15:22:09 +00:00