Post #1536158
2025-12-31 13:47 UTC
My understanding is that it's only slightly slower: the OS maintains a pool of zeroed pages anyway, so it's not like your program has to iterate over all the addresses and write to them.
But it's been a long time since I've done any C/C++ so I could be wrong.
Replies (1)
-
@qaz@lemmy.world 2025-12-31 14:09
> the OS maintains a pool of zeroed pages TIL, I didn't know that.