Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(logqlengine): use index map to avoid result slice allocation
``` goos: linux goarch: amd64 pkg: github.com/go-faster/oteldb/internal/logql/logqlengine cpu: AMD Ryzen 9 5950X 16-Core Processor │ old.txt │ new.txt │ │ sec/op │ sec/op vs base │ _groupEntries-32 178.7µ ± 3% 146.6µ ± 3% -17.95% (p=0.000 n=15) │ old.txt │ new.txt │ │ B/op │ B/op vs base │ _groupEntries-32 30.88Ki ± 0% 15.27Ki ± 0% -50.56% (p=0.000 n=15) │ old.txt │ new.txt │ │ allocs/op │ allocs/op vs base │ _groupEntries-32 191.00 ± 0% 82.00 ± 0% -57.07% (p=0.000 n=15) ```
- Loading branch information