)]}'
{
  "commit": "cb6e62ef52b3cfa6ceb000c53a07559cd3a38ad9",
  "tree": "6843f2c2ad1609dd195f8a3bf12942c1ee0236e3",
  "parents": [
    "8b52b952d4565c1a1c302f6d4168d58fc1171ecf"
  ],
  "author": {
    "name": "Daniel Martí",
    "email": "mvdan@mvdan.cc",
    "time": "Thu Oct 29 01:02:50 2026 +0000"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Oct 28 18:02:50 2026 -0700"
  },
  "message": "Compile regular expressions lazily (#412)\n\nThe identifier regular expressions in cmp and cmp/internal/function\nwere compiled when the packages were initialized. Their Unicode classes\nmake compiling them relatively expensive, and every program importing\ncmp paid for it at startup, even when it never used Transformer or\nreported a function name.\n\nCompile them on first use via sync.OnceValue instead. With -race, this\ntakes the init time of both packages from about 2.5ms to under 0.05ms.\nThis adds up for test binaries which are re-executed many times, such\nas those using github.com/rogpeppe/go-internal/testscript.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "def01a6be30e32f4aece60e146f1c1be625351b8",
      "old_mode": 33188,
      "old_path": "cmp/internal/function/func.go",
      "new_id": "d47a1740ec8494010b5d316fa9e1d6c25c98cc25",
      "new_mode": 33188,
      "new_path": "cmp/internal/function/func.go"
    },
    {
      "type": "modify",
      "old_id": "3e66674f22ca3384a0cd55e80b7b7dd50b4f4892",
      "old_mode": 33188,
      "old_path": "cmp/options.go",
      "new_id": "be26cdebf848ff606712270712bc9830d7e4872c",
      "new_mode": 33188,
      "new_path": "cmp/options.go"
    }
  ]
}
