MappedRandomAccessSource
A RandomAccessSource backed by a memory-mapped file via JvmMappedMemoryChunk.
Unlike JvmRandomAccessSource (which reads through a FileChannel into heap buffers), this variant lets the OS manage paging. Ideal for immutable model weights that are read repeatedly.
Properties
Functions
Link copied to clipboard
Return a MemoryChunk slice without copying — useful for loader integration.