This repository was archived by the owner on Jan 26, 2026. It is now read-only.
Commit b71f09c
committed
parser: Fix performance regression when parsing namespaces
The namespace hash table didn't reuse deleted buckets, leading to
quadratic behavior.
Also ignore deleted buckets when resizing.
Fixes #726.1 parent 0b6d813 commit b71f09c
1 file changed
Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1489 | 1489 | | |
1490 | 1490 | | |
1491 | 1491 | | |
1492 | | - | |
| 1492 | + | |
1493 | 1493 | | |
1494 | 1494 | | |
1495 | 1495 | | |
| |||
1501 | 1501 | | |
1502 | 1502 | | |
1503 | 1503 | | |
| 1504 | + | |
1504 | 1505 | | |
1505 | 1506 | | |
1506 | | - | |
1507 | | - | |
| 1507 | + | |
| 1508 | + | |
| 1509 | + | |
| 1510 | + | |
1508 | 1511 | | |
1509 | 1512 | | |
1510 | 1513 | | |
| |||
1521 | 1524 | | |
1522 | 1525 | | |
1523 | 1526 | | |
1524 | | - | |
| 1527 | + | |
1525 | 1528 | | |
1526 | 1529 | | |
1527 | 1530 | | |
| |||
1758 | 1761 | | |
1759 | 1762 | | |
1760 | 1763 | | |
1761 | | - | |
| 1764 | + | |
1762 | 1765 | | |
1763 | 1766 | | |
1764 | 1767 | | |
| |||
0 commit comments