-
Notifications
You must be signed in to change notification settings - Fork 0
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
reinterpret
to Int64
can increase throughput
#1
Comments
does this translate to a speedup in the search function as well? Some things I've done which speedup the hamming_distance function don't seem to make a difference when doing the actual search |
It's not going to get better than this. even if each comparison was 1ns the best over 1M rows would be 1ms, which it's already very close to
the best combo seems to be a StaticArray query vector and a matrix as the DB |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
btw, there are a lot of unnecessary annotations, for example,
count_ones
always returnInt
no matter what already:julia> Base.url(@which count_ones(0xf2))
"https://github.com/JuliaLang/julia/tree/0b4590a5507d3f3046e5bafc007cacbbfc9b310b/base/int.jl#L415"
The text was updated successfully, but these errors were encountered: