mirror of
https://github.com/rommapp/romm.git
synced 2026-11-28 17:48:31 +01:00
The 24-item cap was measured against the largest library available and does not earn its place: on a 96k-rom library the day-of-year index range scan costs 3.7 ms whether it matches 114 rows or 22,914, so the cap saved roughly 40 ms and 0.7 MB on a typical day while truncating every single day of the year (median 132 matches/day, and 100% of days exceed 24). Removing it also makes the widget's counter a real total rather than a ceiling, which was the substance of the review comment about "24 / 24" implying a complete list. This makes the 1 January skip load-bearing for response size as well as accuracy: it is the one day that would otherwise answer with 22,914 rows (28% of all dated roms), where the busiest real day is 1,101. Addresses the "Result cap hides anniversaries" review comment on #4396. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>