Skip to content

Cache scheme #4

@merces

Description

@merces

I'm kinda proud of the cache scheme I implemented at

pub struct Reader {
which I mainly use at
if offset > self.reader.cache_offset_last {

but I suspect there's an easier way using BufRead. Would it be more suitable? The idea is that I can't load the whole file in memory at once as this slows down everything. Also, I have to decide how much to render at once (currently 1024 bytes). Does that need change?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions