1. 17
  1.  

  2. 2

    Great work. A lot of these optimisations seem to be suprisingly low-hanging fruit. I would have assumed that Array.unshift would already be optimised to not be O(n). It probably implies there are many such opportunities in the lower level stacks in browser and UI frameworks.