)]}'
{
  "commit": "5bc6bc641c85f6486e15838aa3e616d5fbfcb617",
  "tree": "89f398a89c55b7abcb61265b28d7cae35853a7c4",
  "parents": [
    "c75d4c7a85fd972521b4f94a92053077170ece74"
  ],
  "author": {
    "name": "Dmitry Vyukov",
    "email": "dvyukov@google.com",
    "time": "Mon Nov 23 03:38:44 2026 -0800"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Mon Nov 23 03:43:17 2026 -0800"
  },
  "message": "Fast-path SSO and split prefetch loop in RepeatedPtrFieldBase destroy\n\nNon-arena `RepeatedPtrFieldBase::Destroy` and `DestroyMessageLites` previously checked `using_sso()` three times and tested `i + 5 \u003c n` on every loop iteration, adding branch overhead for common small and single-element fields.\n\nReturn immediately after destroying a single SSO element, load `Rep` fields once on the non-SSO path, split the loop into a prefetching prefix (`i \u003c n - 5`) and a branchless tail (`i \u003c n`), and unconditionally deallocate `Rep`. Splitting these paths reduces non-arena destruction CPU time by 2–5% across Intel Sapphire Rapids and AMD Milan microbenchmarks with zero memory overhead.\n\nPiperOrigin-RevId: 1028051795\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "587f377c484bb675d3a58cfc57f1cac2f2eb529b",
      "old_mode": 33188,
      "old_path": "src/google/protobuf/repeated_ptr_field.cc",
      "new_id": "294104844fe4e0e9a8ae36c7e3ee5d78437e6719",
      "new_mode": 33188,
      "new_path": "src/google/protobuf/repeated_ptr_field.cc"
    },
    {
      "type": "modify",
      "old_id": "8e733b4b2d055a026504f58b0a241b2771cf8143",
      "old_mode": 33188,
      "old_path": "src/google/protobuf/repeated_ptr_field.h",
      "new_id": "2d3a7e54cdd624ac1d971bc3ca30ee6bf925bf3c",
      "new_mode": 33188,
      "new_path": "src/google/protobuf/repeated_ptr_field.h"
    }
  ]
}
