onyx-tasks/crates
Claude 937b6c2c7d
refactor(storage): read dedup mtimes once instead of in sort closure
sort_by may call the comparator many times, so the previous tiebreaker
re-read each duplicate file's metadata on every comparison. With N
duplicates that's O(N log N) stat calls, and the ordering could flip
mid-sort if a file was touched concurrently. Snapshot mtime per file up
front and sort on the cached values.
2026-04-19 07:09:49 +00:00
..
onyx-cli test: cover CLI workspace resolver, date picker, saturating version 2026-04-17 16:32:22 +00:00
onyx-core refactor(storage): read dedup mtimes once instead of in sort closure 2026-04-19 07:09:49 +00:00