Skip to content

Feature: Should prefetch be called in index_gt::search_exact_ #587

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
3 tasks done
mapleFU opened this issue Apr 14, 2025 · 0 comments
Open
3 tasks done

Feature: Should prefetch be called in index_gt::search_exact_ #587

mapleFU opened this issue Apr 14, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@mapleFU
Copy link
Contributor

mapleFU commented Apr 14, 2025

Describe what you are looking for

Currently, the prefetch would be called if not dummy if !exact, would it also be called before search_exact_, like:

        if (!top.reserve(wanted)) return result.failed("Out of memory!");
+        if (!is_dummy<prefetch_at>()) {
+         prefetch(citerator_at(0), citerator_at(size()));
+       }
        search_exact_(query, metric, predicate, wanted, context);

Can you contribute to the implementation?

  • I can contribute

Is your feature request specific to a certain interface?

It applies to everything

Contact Details

[email protected]

Is there an existing issue for this?

  • I have searched the existing issues

Code of Conduct

  • I agree to follow this project's Code of Conduct
@mapleFU mapleFU added the enhancement New feature or request label Apr 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant