JankoLancer / kd-tree-dart

A basic super fast Dart implementation of the k-dimensional (k-d) tree data structure
MIT License
12 stars 5 forks source link

Typing #2

Open chrisnorman7 opened 2 years ago

chrisnorman7 commented 2 years ago

Hi, I am looking to use this package in my own projects, and I see there is some suspicious typing going on, in particular the KDTree.nearest function.

Are there any plans to improve typing? If not, I am more than happy to fork and submit a PR if that would be helpful.

Thank you for your hard work.

JankoLancer commented 2 years ago

Hi! It would be great if you can fix and make PR. I would be happy to approve it.

Thank you

chrisnorman7 commented 2 years ago

OK, it'll take me a while though, since I don't understand these data structures at the best of times, and there's very few types to help me along.