#285 Rebuilding a large fork's catalogue text after many upstream saves is slow
–
- github
- github/openchronology/timeline-app
- github/openchronology/timeline-app#285
- issue
- state:closed
Noticed while fixing #261 (PR #284): rebuilding the catalogue text of a fork that reads through to its upstream takes about 15 s for 5,000 moments after many saves to the upstream, with or without that fix. The rebuild walks the fork's index through \`oc_events_lineage\`, and each node and moment lookup is a separate function call. A set-based read of the fork's moments, or rebuilding only the changed part, should bring this down. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_011fFY8eruEi1xAkkMBni13B https://github.com/openchronology/timeline-app/issues/285
Related
- #261 Background catalogue text refresh can fail with "Broken timeline index" while timelines are deleted
- #284 The catalogue text rebuild reads one snapshot
- #290 A small timeline's catalogue text sorts its moments instead of walking
- #623 Bump the actions group with 2 updates
- A small timeline's catalogue text sorts its moments instead of walking (#285)
Open #285 Rebuilding a large fork's catalogue text after many upstream saves is slow in the timeline