-
feat: Optimize repeatable greps for large files (#533)
发布于
2026-05-29 23:56:04 +00:00 -
feat: Optimize repeatable greps for large files
-
fix: gate get_cached_content for windows and fix typo
- Wrap unix get_cached_content in cfg(not(target_os = windows)) so it
doesn't reference field absent on windows builds. - Fix imperically -> empirically (typos CI).
- cargo fmt.
-
fix: silence unused mmap_slot warning on windows
-
fix: per-OS FRESH_MMAP_THRESHOLD (macOS 1MiB, Linux 256KiB, Windows 0)
-
fix: silence dead_code for FRESH_MMAP_THRESHOLD on windows
Value is 0 and unused (mmap path is gated off on windows), but
-D warnings + -D dead-code in CI fails the build.
Co-authored-by: gustav-fff 286169375+gustav-fff@users.noreply.github.com
下载附件
-