Skip to content

v1.0.5

Latest

Choose a tag to compare

@github-actions github-actions released this 27 Jun 07:19

Changed

  • Final output is now a verbatim byte copy. The last merged chunk is
    already in the exact output format ([int64 count][item]...), so Sort()
    copies its bytes straight to the output stream instead of deserializing and
    re-serializing every record. This removes a whole pass of per-record
    (string) allocation from the hot path.
    • Measured on the 50K end-to-end benchmark (Ryzen 9800X3D): allocation
      ~23.75 MB → ~21.8 MB (~8% less), and ~9–14% faster end-to-end
      (e.g. P=8 15.41 ms → 13.30 ms). Output is byte-identical
      (Read ∘ Write round-trips the format exactly).