A few loop optimizations
Some more loop optimizations
And yet even more loop optimizations
Wait more loop optimizations? Why so many commits? This, and more after the next commit message break!
We are adding in loop optimizations mainly to reduce the instantiation of anonymous functions. This may be killing our memory/garbage collection, and just is probably a lot faster
Yet sometimes we will also add in other more advanced optimizations that require safe reordering of previous operations
And sometimes we have to modify loops and comments that say they need defensive copies (but we investigate and find out they don't need the defensive copy any more, and add a note to the called function, so we don't introduce that need)
More loop fixes, and linting fixes
This should save us lots of instances. Funny, how it is a function called buildInstances
Last of the big loop optimizations
Rewriting some various underscore/lodash style calls with ones that won't create new allocations
More allocation reduction
Merge branch 'master' into loop