Closed nickna closed 3 weeks ago
Currently, the KDTree is rebuilt every time a search is performed. We should update the KDTree incrementally when vectors are added or removed. Alternatively, it could be rebuilt less frequently based on a counter or simple heuristic.
k-d tree and Ball tree nodes are rebuilt in a background thread, five seconds after the last VectorList changes were made. This was introduced in #43
Currently, the KDTree is rebuilt every time a search is performed. We should update the KDTree incrementally when vectors are added or removed. Alternatively, it could be rebuilt less frequently based on a counter or simple heuristic.