3 ms·
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.
by halayli 15y 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.