-
To Slice Or Not To Slice
You may have noticed that in my last article, I mentioned I would rather loop through copying arguments than slice them. That came out of this research: jsPerf.
Read more... -
Curry Implementations And Performance
By using a simple approach to curry and enforcing a strict signature and return value, we can make performance improvements to the traditional curry implementation.
Read more... -
Math Floor Math Round With Bitwise Operators
James Padolsey’s article on the bitwise NOT inspired me to research if the “doesn’t work for negative numbers” thing would have an easy workaround and if that workaround would allow us to still calculate faster than the Math.floor function.
Read more... -
Memoizer
I sent my first pull request on Github, this week.
Read more... -
Arguments Speed Boost
When I look at code like the memoizer, I find things that others gloss over because of my training. My most recent project involves a huge application with brutal SLA’s. We must look at every function call or loop critically in order to achieve the required speed. That often means A/B testing in multiple browsers to see where we can shave a few milliseconds.
Read more...