From: Eric Wong Date: Mon, 18 Apr 2022 09:50:04 +0000 (+0000) Subject: syscall: golf + more idiomatic buffer initialization X-Git-Tag: v1.8.0~3 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;ds=sidebyside;h=d362af89d8019ff12d3550c83de2c3aa5d9f095b;hp=d362af89d8019ff12d3550c83de2c3aa5d9f095b;p=public-inbox.git syscall: golf + more idiomatic buffer initialization While `vec' is useful for user-supplied buffers to avoid excess memory traffic, but provides no benefit when we need to allocate our own buffers as we do in nodatacow_fh, since Perl can't elide memset(ptr, 0, len). So just use the idiomatic `"\0" x $LEN' here. ---