Files
leleka/crates/model-format/src
Pavlo RatushnyiandClaude Sonnet 5.5 ee4cb597da PLE rows: read ahead of the chunk on handles of their own (Windows)
The KAR PLE rows of a chunk (16 per token, three random 4 KiB reads each) were read before the chunk started, through
clones of one synchronous handle, which the I/O manager runs one request at a time: 5-12 s of every 6144-token chunk.
Rows now read on independent file objects (ReOpenFile) and the next chunk's rows are fetched on a thread while this
chunk computes. Packets are a function of the archive bytes only; LELEKA_PLE_AHEAD_VERIFY=1 compares each with a direct
read (0 mismatches in 2 live turns). Default on for Windows, LELEKA_PLE_AHEAD=on|off.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-27 20:13:10 +01:00
..