usearch
usearch copied to clipboard
Feature: Should `prefetch` be called in `index_gt::search_exact_`
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?
- [x] I can contribute
Is your feature request specific to a certain interface?
It applies to everything
Contact Details
Is there an existing issue for this?
- [x] I have searched the existing issues
Code of Conduct
- [x] I agree to follow this project's Code of Conduct