Fix performance issues related to using [].slice.call() to convert a traversable to a very large array.