Topic: To optimize object search on a plane
The program works with the certain objects drawn on the screen. Objects can be tens and even hundreds. It is possible to take one of them a mouse to drag is problems does not cause, to sort out one hundred objects and to learn in what got simply. But in the course of driving of the mouse the object can face other objects then it is necessary to push them too. And those, in turn, with others, etc. As a result of MouseMove starts to brake. It is insulting, what the majority of objects are certainly further that point with which it is worked, whether it is impossible to define somehow it and not to check hit? To invent any two-dimensional indexing?