aboutsummaryrefslogtreecommitdiffstats
path: root/docs/architecture.md
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-02 11:13:24 +0100
committertv <tv@krebsco.de>2026-11-02 11:13:24 +0100
commit3354e03cf8e94ac0a01d0ceadf891d5abee3582e (patch)
tree8352df779ea727bd2b0c961c4ffa79235130f864 /docs/architecture.md
parent2621e21a15d6364981e5bb5016489d7e13cefab8 (diff)
api: /admin/changes read ops, not diffs
The new store::changed_by reads each change's own operations instead of diffing the document before and after it. Each object's path is found once per change, as it was right after that change. So the cost now grows with the size of the change, not the size of the map it touched. - It names paths the same way the diff did: a map entry by its key, and list and text edits by the list or text. - It relies on import_obj, which Automerge marks as hidden from its docs, to turn an operation's object ID back into an object.
Diffstat (limited to 'docs/architecture.md')
0 files changed, 0 insertions, 0 deletions