Skip to content

vfs: O(N²) ranged reads #2583

Description

@baszalmstra

Both text_ranged_read and binary_ranged_read walk the output stream byte-by-byte from position 0 on every call. Reading a 500 MB .so through FUSE in 128 KB chunks is ~terabyte-scale byte work. Offsets are sorted → binary-search to the start position and extend_from_slice the spans.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions