Performance-focused release. Internal rendering and event-loop
changes reduce CPU and stat() overhead in everyday use.
Highlights
- Dirty-frame rendering skips redraws on idle frames
- Cached visible entries avoid repeated tree traversal
- Async preview worker keeps the UI responsive during heavy previews
Added
release-fastCargo profile for runtime-optimized builds (cargo install fileview --profile release-fast)
Changed
- File watcher syncs only when the expanded directory set changes
- Status bar metadata is cached to eliminate repeated
stat()calls - Sort keys are precomputed once on tree load instead of per comparison
- Heavy preview generation (syntax highlight, hex dump) moved off the UI thread
- Incremental fuzzy narrowing reuses prior matches when the query extends a prefix
- Dependency refresh:
petgraph0.8.3 (#144),toml1.0.1 (#143),rust-minor-patchgroup (#146), Cargo.lock (#147)
Full Changelog: v2.1.0...v2.4.0