Skip to content

Trying to prefetch before exact search #588

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mapleFU
Copy link
Contributor

@mapleFU mapleFU commented Apr 14, 2025

No description provided.

@ashvardanian
Copy link
Contributor

Hi @mapleFU! What's the usecase for prefetching the entire dataset?

@mapleFU
Copy link
Contributor Author

mapleFU commented May 14, 2025

Sorry for late reply, so prefetching is for prefetch before exact data item, and prefetch the whole dataset would be regarded as "can be done by underlying storage/os"?

@ashvardanian
Copy link
Contributor

No worries, @mapleFU! That use-case may be problematic, as prefetch doesn't return anything and thus will end up throwing from a noexcept function. We may want to postpone such workloads until a bigger redesign 🤷‍♂️

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