webismymind / editablegrid

EditableGrid is an open source Javascript library aimed at turning HTML tables into advanced editable components. It focuses on simplicity: only a few lines of code are required to get your first table up and running.
http://www.editablegrid.net
Other
795 stars 272 forks source link

loop optimisations by caching the length of arrays #123

Closed Nyl000 closed 8 years ago

Nyl000 commented 8 years ago

http://daipratt.co.uk/always-cache-the-length-property-in-for-loops-when-using-javascript/

Moderns browsers seems to cache the length without that. But an older one doesnt.