3 ms·
I use vantage point trees for finding the closest point: https://github.com/pornel/vpsearch https://github.com/pornel/vpsearch (https://github.com/pornel/pngqu
by pornel 11y ago
I use vantage point trees for finding the closest point:
https://github.com/pornel/vpsearch https://github.com/pornel/vpsearch (https://github.com/pornel/pngquant/blob/master/lib/nearest.c https://github.com/pornel/pngquant/blob/master/lib/nearest.c)