)]}'
{
  "commit": "c8bebb952f198f9e1d9c78a296d8ef9625149184",
  "tree": "382377355daa30ed89a492bc9ee238b38e937e5c",
  "parents": [
    "7db9293ecdf178d9c3b0290651b7eab88c1f552a"
  ],
  "author": {
    "name": "Evan Brown",
    "email": "ezb@google.com",
    "time": "Mon Feb 23 12:32:03 2026 -0800"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Mon Feb 23 12:49:51 2026 -0800"
  },
  "message": "Change MaxValidSize computation to take into account the limitation of unique keys based on key size and add compile-time assumptions that size/capacity are valid.\n\nThese new assumptions can allow for the compiler to make new optimizations, especially for tables with small key sizes. Loadtests seem neutral now, but hopefully, these assumptions can allow for further optimizations in future versions of compiler/swisstable.\n\nAlso:\n- Instead of crashing when the user requests a too large size reservation, use std::min(reservation, kMaxValidSize). (Note that this will often still result in a crash due to OOM, but we won\u0027t overflow size_t so we avoid the previous security issue.) Note that this can save memory for cases in which users are reserving \u003e2^32 capacity for key_size\u003d\u003d4 tables.\n- Various refactoring of MaxValidSize() logic.\nPiperOrigin-RevId: 874201915\nChange-Id: I93a18d704e4b6f2589875a01c0006545cd2ad894\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "995502947ebb11429dd49d3bede30af41614f0c3",
      "old_mode": 33188,
      "old_path": "absl/container/internal/raw_hash_set.cc",
      "new_id": "15d072a7cc0fa86fcd8aa52f5a8d370110e6c8e2",
      "new_mode": 33188,
      "new_path": "absl/container/internal/raw_hash_set.cc"
    },
    {
      "type": "modify",
      "old_id": "e6ea1648f620eb4c6b19a16442a9161bbccfc7a8",
      "old_mode": 33188,
      "old_path": "absl/container/internal/raw_hash_set.h",
      "new_id": "1adb39603002a3d0bf85d1b44c2246457f7a2119",
      "new_mode": 33188,
      "new_path": "absl/container/internal/raw_hash_set.h"
    },
    {
      "type": "modify",
      "old_id": "54a7cae2d763c49db15e917222ea3175c684a75d",
      "old_mode": 33188,
      "old_path": "absl/container/internal/raw_hash_set_test.cc",
      "new_id": "6885cf7d89c4b7b4249634d520c51578a1c6ff82",
      "new_mode": 33188,
      "new_path": "absl/container/internal/raw_hash_set_test.cc"
    }
  ]
}
