Y
Hacker News
new
|
ask
|
show
|
jobs
by
halayli
5214 days ago
If you don't have large variables allocated on the stack, the copy is quite fast. This is easily avoidable by allocating on the heap.