onyx-tasks/crates/onyx-core
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
..
src refactor(storage): read dedup mtimes once instead of in sort closure 2026-04-19 07:09:49 +00:00
Cargo.toml Add Google Tasks read-only workspace and sync 2026-04-14 07:02:50 -07:00