usearch icon indicating copy to clipboard operation
usearch copied to clipboard

Trying to prefetch before exact search

Open mapleFU opened this issue 7 months ago • 1 comments

mapleFU avatar Apr 14 '25 15:04 mapleFU

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

ashvardanian avatar Apr 18 '25 13:04 ashvardanian

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"?

mapleFU avatar May 14 '25 15:05 mapleFU

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 🤷‍♂️

ashvardanian avatar May 14 '25 15:05 ashvardanian

Thanks! I'll close this firstly

mapleFU avatar May 23 '25 17:05 mapleFU