mourner / kdbush

A fast static index for 2D points

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature Request] Import from /Export to Array Buffer, like Flatbush

hydrosquall opened this issue · comments

Hi,

Thanks for the work on this very helpful library!

I landed here from a comment in the companion library, which has methods that support serializing the index to disk (via the data property on an index instance), and loading that serialized result back conveniently (via Flatbush.from). It would be really convenient to have those same methods available for this library too.

mourner/flatbush#19 (comment)

Yes, I'd like to bring it on par with Flatbush in this regard — will hopefully take on this in the next few weeks!