Commit bc7ce6b
committed
docs(bench_latency): correct max-vs-heap-head comment
The previous wording called `percentile(1.0)` "the top-K head", which
is misleading for a min-heap implementation: `topKHeap[0]` is the
SMALLEST element in the top-K (the admission threshold for new
outliers), not the largest. The implementation snapshots the heap
into a sequence, sorts it, and returns `topk[^1]` — the maximum.
Comment-only change; behaviour unchanged.1 parent 9703a56 commit bc7ce6b
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
158 | 161 | | |
159 | 162 | | |
160 | 163 | | |
| |||
0 commit comments