you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 10 months ago (1 child)

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.

  • source
  • parent
  • hideshow 1 child comment