)]}'
{
  "commit": "770307d637340c01859f4dc206a8fe35cefe0668",
  "tree": "c8ca4d8a5324622fded625169b07269761f50c5a",
  "parents": [
    "dcccc7fdeacbe346bcd9742a9d2b7ee51ae97011"
  ],
  "author": {
    "name": "Takuto Ikuta",
    "email": "tikuta@google.com",
    "time": "Tue Nov 17 23:39:34 2026 +0900"
  },
  "committer": {
    "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Tue Nov 17 06:56:14 2026 -0800"
  },
  "message": "Avoid temporary allocations in Scope and Template\n\n- Use transparent comparison (std::less\u003c\u003e) and .contains() for\n  Scope::MergeOptions::excluded_values and Scope::MarkAllUsed() so\n  std::string_view lookups do not heap-allocate temporary std::strings.\n- Replace the two-pass vector removal in\n  Scope::RemovePrivateIdentifiers() with C++20 std::erase_if().\n- Move invocation_scope directly into Template::Invoke()\u0027s SetValue()\n  call instead of inserting a dummy Value and looking it up again, and\n  drop the duplicate set_source_dir() call.\n\nBug: None\nTest: gn_unittests --gtest_filter\u003dScope.*:Template.*:FunctionForward*\nChange-Id: I7adcf86d5e507902d3d5f572f078757ccfd7d857\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/29042\nReviewed-by: David Turner \u003cdigit@google.com\u003e\nCommit-Queue: Takuto Ikuta \u003ctikuta@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ba392e1c753a0bc0e42ff39f9f0385dfb78bb4aa",
      "old_mode": 33188,
      "old_path": "src/gn/function_forward_variables_from.cc",
      "new_id": "e15573107b07b63702e7df8035c8a3e76baec444",
      "new_mode": 33188,
      "new_path": "src/gn/function_forward_variables_from.cc"
    },
    {
      "type": "modify",
      "old_id": "60e293f5e5419bafbd502631471951be9b7890af",
      "old_mode": 33188,
      "old_path": "src/gn/functions.cc",
      "new_id": "6112db11e6a5e781c2d6a787202cc0d76bfbea96",
      "new_mode": 33188,
      "new_path": "src/gn/functions.cc"
    },
    {
      "type": "modify",
      "old_id": "0e8ec91df86e3c52fdb47e73a99128a54f5c542c",
      "old_mode": 33188,
      "old_path": "src/gn/scope.cc",
      "new_id": "7f59bc3ace04e444ecabb755b2d5cce0395c5825",
      "new_mode": 33188,
      "new_path": "src/gn/scope.cc"
    },
    {
      "type": "modify",
      "old_id": "9747ff3dbe5349a087f03c80c5d35286f6a74cb1",
      "old_mode": 33188,
      "old_path": "src/gn/scope.h",
      "new_id": "c8becb86c568818b5b8fc5b8e746a7a60fae3b9b",
      "new_mode": 33188,
      "new_path": "src/gn/scope.h"
    },
    {
      "type": "modify",
      "old_id": "4aec54c398cbec52b8c1e736d763d21912d7f13d",
      "old_mode": 33188,
      "old_path": "src/gn/scope_unittest.cc",
      "new_id": "72f682be1b618611200df947658b21acc6292de8",
      "new_mode": 33188,
      "new_path": "src/gn/scope_unittest.cc"
    },
    {
      "type": "modify",
      "old_id": "5a1c9366a404d9cbdac4948585bda1c27f36fe09",
      "old_mode": 33188,
      "old_path": "src/gn/template.cc",
      "new_id": "c9f9c5ce6988fb050aa08fc998e298d4d44071be",
      "new_mode": 33188,
      "new_path": "src/gn/template.cc"
    }
  ]
}
