)]}'
{
  "commit": "6586c843e243499435ae105ca327af1b8961ab03",
  "tree": "d86467d4c034834bbd2e08db8b44480a4791f203",
  "parents": [
    "02b9d897433cee3f85e1a83526b6f6b362df3921"
  ],
  "author": {
    "name": "Chris Kennelly CA",
    "email": "ckennelly@google.com",
    "time": "Sun Sep 27 21:10:19 2026 -0700"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Sat Oct 24 10:58:47 2026 -0700"
  },
  "message": "Optimize CommandLineV1Flag type dispatch, validation, and FlagSaver.\n\n1. Replace `IsOfType\u003cT\u003e()` (up to 6 virtual `TypeId()` calls + 6 indirect\n   `op_(kFastTypeId)` calls) in `ChangedDirectly`,\n   `CommandLineV1Flag::Typename()`, and `CommandLineV1Flag::InvokeValidator()`\n   with direct `op \u003d\u003d \u0026absl_flags::FlagOps\u003cT\u003e` pointer comparisons.\n2. Add `!inited_.load(std::memory_order_acquire)` fast paths to\n   `CommandLineV1Flag::ValidateDefaultValue()`, `IsModified()`,\n   `IsSpecifiedOnCommandLine()`, and `HasValidatorFn()`, avoiding lazily\n   allocating and locking ~8,000 `absl::Mutex`es during flag initialization.\n3. Return `nullptr` from `CommandLineV1Flag::SaveState()` when unmodified and\n   restore via `CommandLineV1Flag::RestoreToInitialState()`, eliminating\n   ~8,000 `Clone(op_, cur_)` + `V1FlagState` heap allocations/deletions per\n   `FlagSaver` scope.\n\nPiperOrigin-RevId: 989386175\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4140230651aa5c4ad8a457b1dee77501a176aeac",
      "old_mode": 33188,
      "old_path": "absl/flags/commandlineflag.cc",
      "new_id": "3b3b7859c766799b867776028dcb7f236c7ebb0b",
      "new_mode": 33188,
      "new_path": "absl/flags/commandlineflag.cc"
    },
    {
      "type": "modify",
      "old_id": "9336d6d4a08834041905e4abb7f19c0061b6f010",
      "old_mode": 33188,
      "old_path": "absl/flags/commandlineflag.h",
      "new_id": "aab7daca65e385b2f3f2a0923b186853ec80659b",
      "new_mode": 33188,
      "new_path": "absl/flags/commandlineflag.h"
    },
    {
      "type": "modify",
      "old_id": "662b342bb76fe095a827d55ffb419218e29163dc",
      "old_mode": 33188,
      "old_path": "absl/flags/internal/flag.cc",
      "new_id": "62d1be96e059a2263ef5c8fcf9407f21e725658f",
      "new_mode": 33188,
      "new_path": "absl/flags/internal/flag.cc"
    },
    {
      "type": "modify",
      "old_id": "8baff43f8ddce530c6085441ebc040658e268fc3",
      "old_mode": 33188,
      "old_path": "absl/flags/internal/flag.h",
      "new_id": "f625456eb1db32ce2a608ec594119bb4ebb512c7",
      "new_mode": 33188,
      "new_path": "absl/flags/internal/flag.h"
    },
    {
      "type": "modify",
      "old_id": "610d1ffdf7f717ac58d24e23d0406ac1d9f833f8",
      "old_mode": 33188,
      "old_path": "absl/flags/internal/private_handle_accessor.cc",
      "new_id": "145b1b40e7130e15cf2a60791410bac2f0e03d56",
      "new_mode": 33188,
      "new_path": "absl/flags/internal/private_handle_accessor.cc"
    },
    {
      "type": "modify",
      "old_id": "bf4154c5a5b568f9230d025aad0b4c7ba7e7f2c5",
      "old_mode": 33188,
      "old_path": "absl/flags/internal/private_handle_accessor.h",
      "new_id": "fedf7507fcd618671c71edefad93554c50898940",
      "new_mode": 33188,
      "new_path": "absl/flags/internal/private_handle_accessor.h"
    },
    {
      "type": "modify",
      "old_id": "940bf565c459131ada91ea8978ee3477f8ecbe10",
      "old_mode": 33188,
      "old_path": "absl/flags/parse.cc",
      "new_id": "9b9502ddc59b76754c056f7db7766a9f2354a3b1",
      "new_mode": 33188,
      "new_path": "absl/flags/parse.cc"
    },
    {
      "type": "modify",
      "old_id": "13f210c810130d7e81ffc7594195cb2495013959",
      "old_mode": 33188,
      "old_path": "absl/flags/reflection.cc",
      "new_id": "af8f037f759481a4ceb90495e272eecd02c813aa",
      "new_mode": 33188,
      "new_path": "absl/flags/reflection.cc"
    }
  ]
}
