Sorry if this question was asked already, I\'ve tried to find it by couldn\'t.
I have a canvas that should eventually show about 400-500 rectangles 20-30 pixels heig
Please check out KineticJS v4.0.0, the event detection engine was rewritten and yields instantaneous hit detection even if there are hundreds of thousands of shapes:
http://kineticjs.com/