Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
spicebox
on May 21, 2023
|
parent
|
context
|
favorite
| on:
How much memory do you need to run 1M concurrent t...
Spreading an array requires looping over all the array elements which is O(n) compared to something like Array.push() which is just 0(1), although spreading has other benefits like copying rather than mutating
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: