jelmerk / hnswlib

Java library for approximate nearest neighbors search using Hierarchical Navigable Small World graphs
Apache License 2.0
260 stars 56 forks source link

Why is there no float-64 support in hnswlib-core-jdk17 #49

Closed chenjia123 closed 2 years ago

chenjia123 commented 2 years ago

As the title says.

jelmerk commented 2 years ago

No real reason other than that it's work and I haven't gotten around to it. Feel free to contribute it.

Unfortunately due to what I think is a bug in the jdk it does not seem to be possible to create a generic implementation that works for all species. So you basically have to do the same thing over and over again.

I filed a bug for it but I don't think it's been addressed