Which array copy is fastest?

Kirk Strobeck
1 min readMay 19, 2018

--

Array spread vs. Array from vs. Array slice

  • Fastest: Array spread at 188ms
  • 1.9x slower: Array from at 361ms
  • 3.5x slower: Array slice at 668ms

--

--