jimkang/annoy-node

What is the behaviour of feeding an array of Strings (of numbers)

Closed this issue · 0 comments

Hello,
Following from this issue
#18

I tried to change the type of the vector to an array of Strings like:
v = ["0.00281","0.783933"...]

And It doesn't crash until a little longer array (between 20 and 100) I guess.

It would be nice to add in README specification of how Numbers of JavaScript are bound to the binary Annoy.
There are types like Array of numbers but there is also Float64Array, so ..

Thanks a lot 😁