3 ms·
Also, take GC pressure into consideration; pass by value is 'free' in that it does not put data onto the heap and thus does not cause any GC overhead.
by Cthulhu_ 8y ago
Also, take GC pressure into consideration; pass by value is 'free' in that it does not put data onto the heap and thus does not cause any GC overhead.