)]}'
{
  "commit": "9559b2001ae3020bee303c412bc043f72090d476",
  "tree": "f37d2de5b5af7128df54fbc03f077a3aaf506661",
  "parents": [
    "4d9c2b1ea112964d22e16428262c968470c1c1b4"
  ],
  "author": {
    "name": "Ignas Anikevicius",
    "email": "240938+aignas@users.noreply.github.com",
    "time": "Sun Dec 07 13:12:41 2025 +0900"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Sun Dec 07 04:12:41 2025 +0000"
  },
  "message": "refactor(core): get_zip_runfiles_path should call startswith less (#3442)\n\nLooking at the investigation in #3380, it seems that we are calling\nthe startswith many times and I wanted to see if it would be possible\nto optimize how it is done.\n\nI also realized that no matter what target we have, we will be calling\nthe function once with a `__init__.py` path and we can inline this case\nas a separate if statement checking for equality instead, which Starlark\noptimizer should understand better.\n\nBefore this PR for every executable target we would go through the\n`legacy_external_runfiles and \"__init__.py\".startswith(\"external\")` and\nthis PR eliminates this.\n\nRelated to #3380 and #3381",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0a16e7690eebf9dd2b02f63ce5fa95b645a97c86",
      "old_mode": 33188,
      "old_path": "python/private/py_executable.bzl",
      "new_id": "9084454c65d0a64d5a2fac860e372b614fba0d2d",
      "new_mode": 33188,
      "new_path": "python/private/py_executable.bzl"
    }
  ]
}
