News for hackers. Stuff that matters.
Re:Exact Binary Vector Search for RAG in 100 Lines of Julia by horsellama on Saturday May 18, 2024 @03:05AM (#40397007)
Nice speed up!

Have you tried to benchmark also this heap implementation?

https://juliacollections.github.io/DataStructures.jl/latest/...

Re:Exact Binary Vector Search for RAG in 100 Lines of Julia by lunaticd on Sunday May 19, 2024 @02:19PM (#40408740)
i did it does a ton of allocations, which is why i made a simple maxheap implementation and then sort the final result