Re:When zero cost abstractions aren't zero cost
by jokethrowaway on Monday August 09, 2021 @10:43PM
(#28124682)
That first example is misleading.
It's doing different things:
In the first case it's not doing anything and it will request memory dynamically. In the second case it's zeroing 16gb of RAM.
The explanation linked at the end explains it better.
It's doing different things: In the first case it's not doing anything and it will request memory dynamically. In the second case it's zeroing 16gb of RAM.
The explanation linked at the end explains it better.