: , , ( , ). .
( ) , , , O (1). , .
Pattern , each new form is registered at the necessary points (this can be expensive, depending on how many inserts the form often ...), and as soon as the mouse is at this stage, all you need to do is call the person who registered at this point .
The third possibility is, of course, reducing your search area, as @user is unknown. this feature can be combined with a lookup table.
source
share