Closed orlv closed 7 years ago
Thanks! I don't think there's a need to duplicate code for supporting objects in the library. Since the keys are not used, you could get the same result by converting an object to an array before passing to kdbush.
I use the library to create an index many times per second, so I can't avoid duplicating the code.
Nevertheless, thank you very much for the superfast lib!
Upd: You're right. Converting object is fast enough.
Hello! I added the ability to create an index from an associative array. Maybe you will find it useful.