NelsonMinar/zipdecode-js — pull request #1 by ZJONSSON (2013-02-26 02:01:36+00:00)
Title: Increased speed by caching all possible selections

This quick hack avoids having to go through all the rectangles and focuses on two groups of nodes: the last one selected (need to turn color back off) and the new selection. All possible selections have been cached in the node object.