Comment on Show HN: HTML5 Bird Flocks Simulation in CoffeeScriptparentComments−hythloday13yThanks! The canonical data structure to avoid the O(n^2) lookup is a kdtree, which I think is reasonably easy to implement in coffeescript.
Comments
Thanks! The canonical data structure to avoid the O(n^2) lookup is a kdtree, which I think is reasonably easy to implement in coffeescript.