Re:How to zero a buffer
by pcwalton on Thursday September 04, 2014 @07:52PM
(#8271416)
A compiler could just forward the zero from the memset directly to your write syscall and delete the memset (and I would certainly implement this optimization in a compiler if I found it helped real code).
[ Parent
| on HN ]
There are no comments on this comment yet.