2 ms·
This is analogous to javascript: b = a.slice() vs b = Array.apply(null, a) (the second is fastest and arguably clearer)
by ricardobeat 15y ago
This is analogous to javascript:
b = a.slice()
vs
b = Array.apply(null, a)
(the second is fastest and arguably clearer)