Skip to content

Conversation

feefladder
Copy link
Contributor

@feefladder feefladder commented Mar 21, 2025

depends on #76

Add a more aggressive caching strategy to PrefetchReader. Main reason is that this is the reason #76 is nice to have. Alternative could be a CacheReader so we can build a PrefetchReader<CacheReader<CoalesceReader<MyReader>>>? but that will also fetch double cache for the initial prefetch.

I removed the TODO: partial re-use of internal buffer to make code easier. Now a range is either in the prefetch range or in internal cache

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants