romaonthego / REMarkerClusterer

REMarkerClusterer creates and manages per-zoom-level clusters for large amounts of markers.
MIT License
195 stars 30 forks source link

Move to fast enumeration in loops to improve performance #6

Closed toto closed 11 years ago

toto commented 11 years ago

Where possible I changed all for loops in REMarkerClusterer to the for in syntax which uses NSFastEnumeration and therefore dramatically improves performance.