)]}'
{
  "commit": "2133677674d292716942ad2ccb1ed38d7924f1c8",
  "tree": "ce5ce626300c248cd7904c86acf2f67504a73f5b",
  "parents": [
    "8d4301b6b69d604c22d94e8f7409d6e493591438"
  ],
  "author": {
    "name": "Klaus Post",
    "email": "klauspost@gmail.com",
    "time": "Sun Nov 22 16:08:16 2026"
  },
  "committer": {
    "name": "Klaus Post",
    "email": "klauspost@gmail.com",
    "time": "Sun Nov 22 16:08:37 2026"
  },
  "message": "zstd: start ConcurrentBlocks streams in an output buffer, then one ring\n\nThe ring doubled from one slot whenever the writer would otherwise wait.\nEvery ring it replaced stayed alive until its jobs were flushed, so a\n512 MB stream at ultra with 16 goroutines held five rings, 1 GB, where\nthe full ring is 584 MB, and every new ring took its page faults again.\n\nNow a stream starts in a buffer from the output pool, using half a job\nof it, so a short stream allocates no ring. A Flush or the end of the\nstream dispatches jobs from there. When the buffer fills, the history\nand the input not dispatched yet move to a full ring, n+2 jobs plus the\noverlap, taken from a pool or allocated, and the buffer goes back to the\noutput pool. In the ring, the writer goes back to the first slot when the\nfirst two are free, so input the workers keep up with stays in cache\ninstead of cycling through the whole ring.\n\nJob output buffers are half a job for every job, also after a Flush, and\none that runs out grows once, to the most a job can take, instead of in\nsteps that each copy it. WithLowerEncoderMem keeps sizing them by the\njob\u0027s input.\n\nThe output is unchanged.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f180288ac840a800312687a21e1ab233ee11e4db",
      "old_mode": 33188,
      "old_path": "zstd/README.md",
      "new_id": "9798b138fee5789c7f52b117cfbce57afc8fc421",
      "new_mode": 33188,
      "new_path": "zstd/README.md"
    },
    {
      "type": "modify",
      "old_id": "891feef3e60c384045fc749e3520eda5b698c84b",
      "old_mode": 33188,
      "old_path": "zstd/enc_jobs.go",
      "new_id": "d37f4ee5624f0b183cb3b8bb5d9b83f772e364f9",
      "new_mode": 33188,
      "new_path": "zstd/enc_jobs.go"
    },
    {
      "type": "modify",
      "old_id": "02664684df7180d2db1b4172ee96e7cb376fe8b2",
      "old_mode": 33188,
      "old_path": "zstd/enc_jobs_test.go",
      "new_id": "3ca0ec23f7fba836b4f7bc5f6cb8e8ab65ab0a91",
      "new_mode": 33188,
      "new_path": "zstd/enc_jobs_test.go"
    },
    {
      "type": "modify",
      "old_id": "37c81581cb54de2b35c97c9dfcb9b4e2da34e929",
      "old_mode": 33188,
      "old_path": "zstd/encoder.go",
      "new_id": "dea2e23438e18ac9192bd61b900a25fead31065a",
      "new_mode": 33188,
      "new_path": "zstd/encoder.go"
    }
  ]
}
