Session listing parses every file per call #205

Open
opened 2026-11-21 12:36:50 +00:00 by johannes · 0 comments
Owner

Location: crates/hx-core/src/session.rs (list sessions, ~line 269)
What is hacky: no index; parses all files each call.
Proper fix: cached index of titles/metadata.
Original comment: "ponytail: parses every file on each call; fine for hundreds of sessions, add an index beyond that."

Found by the comment audit: the comment excusing this was deleted (see scripts/lint-comments.sh).

Location: crates/hx-core/src/session.rs (list sessions, ~line 269) What is hacky: no index; parses all files each call. Proper fix: cached index of titles/metadata. Original comment: "ponytail: parses every file on each call; fine for hundreds of sessions, add an index beyond that." Found by the comment audit: the comment excusing this was deleted (see scripts/lint-comments.sh).
johannes added the core label 2026-11-21 12:36:50 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: johannes/hx#205