Repository navigation
Commit d19c04b
committed
fix(objectql): the predicate update's fold carries one image per parent through the stored pass
L2 delta S4: the fold computed the parent's stored computed fields from the
row as stored before the update at every matched row, while one by one each
recompute's write starts from the row the previous recompute stored. A stored
field reading its own stored value (a high-water mark) or three stored fields
chained against declaration order then diverged from the third row on. After
each judged row the fold now tells the dependents every parent that row
names (advance), which writes that parent's image again from the previous
image, and the next row reads that image.
Pinned over three rows against the one-by-one reference: a high-water mark
and a three-field chain against declaration order, plus a fold unit pin for
the parents advanced. N7: an empty object beneath a field is the nested
form too (isNoOperatorObject), as the engine reads it.
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufzfr1xZSFZzCR8HnqXX1 parent c14d8dd commit d19c04b
4 files changed
Lines changed: 142 additions & 13 deletions
File tree
- packages/objectql/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2394 | 2394 | | |
2395 | 2395 | | |
2396 | 2396 | | |
| 2397 | + | |
| 2398 | + | |
| 2399 | + | |
| 2400 | + | |
| 2401 | + | |
| 2402 | + | |
| 2403 | + | |
2397 | 2404 | | |
2398 | 2405 | | |
2399 | 2406 | | |
| |||
2447 | 2454 | | |
2448 | 2455 | | |
2449 | 2456 | | |
2450 | | - | |
2451 | | - | |
2452 | | - | |
2453 | | - | |
2454 | | - | |
2455 | | - | |
| 2457 | + | |
| 2458 | + | |
| 2459 | + | |
| 2460 | + | |
2456 | 2461 | | |
2457 | 2462 | | |
2458 | 2463 | | |
2459 | 2464 | | |
2460 | 2465 | | |
| 2466 | + | |
| 2467 | + | |
| 2468 | + | |
| 2469 | + | |
| 2470 | + | |
| 2471 | + | |
| 2472 | + | |
| 2473 | + | |
| 2474 | + | |
| 2475 | + | |
| 2476 | + | |
| 2477 | + | |
2461 | 2478 | | |
2462 | 2479 | | |
2463 | 2480 | | |
2464 | 2481 | | |
2465 | 2482 | | |
2466 | 2483 | | |
| 2484 | + | |
| 2485 | + | |
| 2486 | + | |
| 2487 | + | |
| 2488 | + | |
| 2489 | + | |
| 2490 | + | |
| 2491 | + | |
2467 | 2492 | | |
| 2493 | + | |
2468 | 2494 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
251 | 270 | | |
252 | 271 | | |
253 | 272 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| |||
123 | 124 | | |
124 | 125 | | |
125 | 126 | | |
| 127 | + | |
| 128 | + | |
126 | 129 | | |
127 | 130 | | |
128 | 131 | | |
| |||
444 | 447 | | |
445 | 448 | | |
446 | 449 | | |
447 | | - | |
448 | | - | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
449 | 462 | | |
450 | | - | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
451 | 466 | | |
452 | 467 | | |
453 | 468 | | |
| |||
555 | 570 | | |
556 | 571 | | |
557 | 572 | | |
558 | | - | |
559 | | - | |
560 | | - | |
| 573 | + | |
| 574 | + | |
561 | 575 | | |
562 | 576 | | |
563 | 577 | | |
| |||
567 | 581 | | |
568 | 582 | | |
569 | 583 | | |
570 | | - | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
571 | 592 | | |
572 | 593 | | |
573 | 594 | | |
| |||
615 | 636 | | |
616 | 637 | | |
617 | 638 | | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
618 | 653 | | |
619 | 654 | | |
620 | 655 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1432 | 1432 | | |
1433 | 1433 | | |
1434 | 1434 | | |
| 1435 | + | |
| 1436 | + | |
| 1437 | + | |
| 1438 | + | |
| 1439 | + | |
| 1440 | + | |
1435 | 1441 | | |
1436 | 1442 | | |
1437 | 1443 | | |
| |||
1469 | 1475 | | |
1470 | 1476 | | |
1471 | 1477 | | |
| 1478 | + | |
| 1479 | + | |
1472 | 1480 | | |
1473 | 1481 | | |
1474 | 1482 | | |
| |||
1674 | 1682 | | |
1675 | 1683 | | |
1676 | 1684 | | |
| 1685 | + | |
| 1686 | + | |
| 1687 | + | |
| 1688 | + | |
| 1689 | + | |
| 1690 | + | |
| 1691 | + | |
| 1692 | + | |
| 1693 | + | |
| 1694 | + | |
| 1695 | + | |
| 1696 | + | |
| 1697 | + | |
| 1698 | + | |
| 1699 | + | |
| 1700 | + | |
| 1701 | + | |
| 1702 | + | |
| 1703 | + | |
| 1704 | + | |
| 1705 | + | |
| 1706 | + | |
| 1707 | + | |
| 1708 | + | |
| 1709 | + | |
| 1710 | + | |
| 1711 | + | |
| 1712 | + | |
| 1713 | + | |
| 1714 | + | |
| 1715 | + | |
| 1716 | + | |
| 1717 | + | |
| 1718 | + | |
| 1719 | + | |
| 1720 | + | |
| 1721 | + | |
| 1722 | + | |
| 1723 | + | |
| 1724 | + | |
| 1725 | + | |
1677 | 1726 | | |
1678 | 1727 | | |
1679 | 1728 | | |
| |||
0 commit comments