Repository navigation
Commit c147c37
refactor: hold Arc<Column> in StatisticsRequest per-column variants
A Column owns its relation/name strings, so cloning a StatisticsRequest
cloned those strings. The requests live in a BTreeSet<StatisticsRequest>
on TableScan that is cloned with the plan throughout optimization, so
wrap the per-column payload in Arc<Column> to make those clones cheap.
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>1 parent 6f3cfc9 commit c147c37
2 files changed
Lines changed: 21 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
| 83 | + | |
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
| |||
188 | 189 | | |
189 | 190 | | |
190 | 191 | | |
191 | | - | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
192 | 195 | | |
193 | 196 | | |
194 | 197 | | |
195 | | - | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
196 | 201 | | |
197 | 202 | | |
198 | 203 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1695 | 1695 | | |
1696 | 1696 | | |
1697 | 1697 | | |
| 1698 | + | |
| 1699 | + | |
1698 | 1700 | | |
1699 | 1701 | | |
1700 | 1702 | | |
| |||
1711 | 1713 | | |
1712 | 1714 | | |
1713 | 1715 | | |
| 1716 | + | |
| 1717 | + | |
| 1718 | + | |
| 1719 | + | |
| 1720 | + | |
1714 | 1721 | | |
1715 | 1722 | | |
1716 | 1723 | | |
1717 | | - | |
| 1724 | + | |
1718 | 1725 | | |
1719 | | - | |
| 1726 | + | |
1720 | 1727 | | |
1721 | | - | |
| 1728 | + | |
1722 | 1729 | | |
1723 | | - | |
| 1730 | + | |
1724 | 1731 | | |
1725 | 1732 | | |
1726 | | - | |
| 1733 | + | |
1727 | 1734 | | |
1728 | | - | |
| 1735 | + | |
1729 | 1736 | | |
1730 | 1737 | | |
1731 | 1738 | | |
| |||
0 commit comments