Mask threshold cap is empirical #203

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

Location: crates/hx-core/src/window.rs:MASK_FROM_MAX
What is hacky: 60k comes from two sessions only.
Proper fix: tune from hx stats over many sessions or derive from cache pricing.
Original comment: "ponytail: 60k comes from two real sessions (contexts of 72k and 105k); tune with hx stats."

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

Location: crates/hx-core/src/window.rs:MASK_FROM_MAX What is hacky: 60k comes from two sessions only. Proper fix: tune from `hx stats` over many sessions or derive from cache pricing. Original comment: "ponytail: 60k comes from two real sessions (contexts of 72k and 105k); tune with `hx stats`." 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:49 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: johannes/hx#203