Rewrote FileSource to use memmap2 for zero-copy random access. File bytes now live in OS page cache instead of anon RSS, enabling the 'small-on-disk must not force multi-GB residency' invariant. Changes: - Added memmap2 = "0.9" dependency to pdftract-core - Replaced fs::File-based FileSource with memmap2::Mmap - Added source_tests module with 5 unit tests (all pass) - Removed fs::read fallback for unbounded files per Anti-Patterns Closes: bf-2ervu |
||
|---|---|---|
| .. | ||
| conformance.rs | ||
| memory_guard.rs | ||
| memory_guard_tests.rs | ||
| ocr_integration.rs | ||
| page_classification.rs | ||
| struct_tree_coverage.rs | ||
| test_xref_debug.rs | ||
| th_05_ssrf_block.rs | ||
| xref_helpers.rs | ||
| xref_integration_test.rs | ||