Commit d39327e
committed
Define child traversal once on ArrayRef via children_iter
children/nchildren/nth_child/named_children no longer need the encoding
vtable: implement them directly on ArrayRef over a single children_iter
helper (the non-None slots in order) and drop them from DynArrayData.
Only children_names still dispatches, for VTable::child_name.
Signed-off-by: "Joe Isaacs" <joe.isaacs@live.co.uk>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XbjnDVZQ9KqXgAAhxy9g7D1 parent 44844aa commit d39327e
2 files changed
Lines changed: 16 additions & 52 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
685 | 685 | | |
686 | 686 | | |
687 | 687 | | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
688 | 693 | | |
689 | 694 | | |
690 | | - | |
| 695 | + | |
691 | 696 | | |
692 | 697 | | |
693 | 698 | | |
694 | 699 | | |
695 | | - | |
| 700 | + | |
696 | 701 | | |
697 | 702 | | |
698 | 703 | | |
| 704 | + | |
| 705 | + | |
699 | 706 | | |
700 | | - | |
| 707 | + | |
701 | 708 | | |
702 | 709 | | |
703 | 710 | | |
| |||
707 | 714 | | |
708 | 715 | | |
709 | 716 | | |
710 | | - | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
711 | 721 | | |
712 | 722 | | |
713 | 723 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | 83 | | |
95 | 84 | | |
96 | 85 | | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | 86 | | |
101 | 87 | | |
102 | 88 | | |
| |||
267 | 253 | | |
268 | 254 | | |
269 | 255 | | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | 256 | | |
290 | 257 | | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
| 258 | + | |
| 259 | + | |
306 | 260 | | |
307 | 261 | | |
308 | 262 | | |
| |||
0 commit comments