mirror of
https://github.com/storytold/effectcraft.git
synced 2026-11-20 00:55:43 +00:00
- The reader reads the next batch of chunks while the one before decompresses, reads chunks that follow each other in the file in one request, starts with a small batch so decoding begins early, places the planes in parallel, and converts half samples a slice at a time. - A plane entry stores a half channel as half floats when every value round-trips bit for bit (NaN planes and float data stay f32), with a plain byte-plane shuffle; one entry per channel, read in parallel on a hit. Old multi-plane entries (format 5) read as misses. - The planes of one decode go to the disk writer as one job that shares the plane store's set instead of a copy per channel; the queue counts their bytes once the store lets go of them. - The plane store loses its unused level, and one eviction loop serves the budget and the memory accountant; dropping for bytes keeps remembered failures.