Add corpus loading and year-range caching #96

Closed
opened 2026-07-01 00:53:50 +00:00 by manlycucumber · 0 comments
manlycucumber commented 2026-07-01 00:53:50 +00:00 (Migrated from github.com)

Problem

Generating a full year or repeated lookups should not reload and recompute the corpus each time. Caching of loaded corpus and computed temporal skeletons is needed.

Acceptance criteria

  • Corpus is loaded once per process and reused
  • Per-year temporal skeletons are cached
  • A year-range benchmark shows the expected speedup
  • Cache correctness is asserted against uncached output

Notes

Cache must be invalidated by the data-version stamp.

## Problem Generating a full year or repeated lookups should not reload and recompute the corpus each time. Caching of loaded corpus and computed temporal skeletons is needed. ## Acceptance criteria - [ ] Corpus is loaded once per process and reused - [ ] Per-year temporal skeletons are cached - [ ] A year-range benchmark shows the expected speedup - [ ] Cache correctness is asserted against uncached output ## Notes Cache must be invalidated by the data-version stamp.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Directorium/Core#96
No description provided.