very annoyed with this slow bit of code that i can't make run faster. somehow i can do thousands of nearest neighbors lookups per second but can't construct an array of coordinates for a few hundred character glyphs without it taking 250ms, this is probably why people use c++ and stuff huh