)]}'
{
  "commit": "255249c2341c2fb4ef2fbcbfb4b60bb297708853",
  "tree": "323a085b2bcb01aae534c79acc0bda443f78e2c1",
  "parents": [
    "d8e48581c354d482e8edd5e1c529d3200c92abc0"
  ],
  "author": {
    "name": "Chayim Refael Friedman",
    "email": "chayimfr@gmail.com",
    "time": "Mon May 04 03:19:00 2026 +0300"
  },
  "committer": {
    "name": "Chayim Refael Friedman",
    "email": "chayimfr@gmail.com",
    "time": "Mon May 04 03:23:55 2026 +0300"
  },
  "message": "Improve performance of integer-based symbols\n\nCurrently only generated names and integers.\n\nInstead of always heap-allocating then interning them (generated names), or before that match against a small list of known symbols (integers), have a static array of `\u0026str`s that allows us to get the common cases without interning or allocation, and even the reverse way - from a `Symbol` to a `usize` - can be made more efficient.\n\nAlso avoid heap allocation even in the cold case, use an `ArrayString` instead as the maximum length is known and is small.\n\nThis is somewhat important as expr store lowering commonly generates new names in desugarings (e.g. for loop, question mark operator, `format_args!`), and integer symbols are also common.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f47bff58bd895ae399ce232debd1aa404f8b66e6",
      "old_mode": 33188,
      "old_path": "Cargo.lock",
      "new_id": "be9a8c491572f57c9ced9d7fbffb92038ba85089",
      "new_mode": 33188,
      "new_path": "Cargo.lock"
    },
    {
      "type": "modify",
      "old_id": "4a93c26ff7f7644f4cb28aabaddcc033078f0732",
      "old_mode": 33188,
      "old_path": "Cargo.toml",
      "new_id": "45fc727b13186fd31f50c09f20b0c83c9144b77a",
      "new_mode": 33188,
      "new_path": "Cargo.toml"
    },
    {
      "type": "modify",
      "old_id": "51c4e225168fe5bffdc3840e576a55eb803ade28",
      "old_mode": 33188,
      "old_path": "crates/hir-expand/src/builtin/quote.rs",
      "new_id": "d84756377fc7567f4e8f86cb3814ca54714173bf",
      "new_mode": 33188,
      "new_path": "crates/hir-expand/src/builtin/quote.rs"
    },
    {
      "type": "modify",
      "old_id": "0408a6943d59f03355353bf4ca0a593bdf3b1066",
      "old_mode": 33188,
      "old_path": "crates/hir-expand/src/name.rs",
      "new_id": "3ddc305f9592c3ed6ad0692582b3df53ae328aaa",
      "new_mode": 33188,
      "new_path": "crates/hir-expand/src/name.rs"
    },
    {
      "type": "modify",
      "old_id": "12a48d65ac8c555f42fdc22d363005babc9c0c32",
      "old_mode": 33188,
      "old_path": "crates/ide-db/src/prime_caches.rs",
      "new_id": "fb7edb1acd2f2cfadaedb026ef1466bb87359323",
      "new_mode": 33188,
      "new_path": "crates/ide-db/src/prime_caches.rs"
    },
    {
      "type": "modify",
      "old_id": "99f8634bcb05a5c3e196deb363eb4fbe59cfe9b8",
      "old_mode": 33188,
      "old_path": "crates/ide/src/navigation_target.rs",
      "new_id": "03af25a9c0e1e17f3994606d6d3d23ab94fd366a",
      "new_mode": 33188,
      "new_path": "crates/ide/src/navigation_target.rs"
    },
    {
      "type": "modify",
      "old_id": "39320ebd1cfef55f5508e8c10abed1a79911b2cb",
      "old_mode": 33188,
      "old_path": "crates/intern/Cargo.toml",
      "new_id": "1e6e8ff32f04127a10b1370f408ad32af480b459",
      "new_mode": 33188,
      "new_path": "crates/intern/Cargo.toml"
    },
    {
      "type": "modify",
      "old_id": "8b2d6e8717d231ff38e1260a10c577a25f96689e",
      "old_mode": 33188,
      "old_path": "crates/intern/src/symbol.rs",
      "new_id": "72d32d10177470a0edb9cdca9c09570601ae1512",
      "new_mode": 33188,
      "new_path": "crates/intern/src/symbol.rs"
    },
    {
      "type": "modify",
      "old_id": "db3c3c52009fe0b7b9470e021e4fe7484b04b009",
      "old_mode": 33188,
      "old_path": "crates/intern/src/symbol/symbols.rs",
      "new_id": "ac6daaf00681ff12afa7ed0126b12287314e08a0",
      "new_mode": 33188,
      "new_path": "crates/intern/src/symbol/symbols.rs"
    },
    {
      "type": "modify",
      "old_id": "e8e7928c263f0b9f201c18fd6730e7ce3f37c628",
      "old_mode": 33188,
      "old_path": "crates/mbe/src/expander/transcriber.rs",
      "new_id": "e135291d89dfef781e2f896ea46f7524d1d7ab15",
      "new_mode": 33188,
      "new_path": "crates/mbe/src/expander/transcriber.rs"
    }
  ]
}
