]> git.ipfire.org Git - thirdparty/man-pages.git/commit
alloca.3: simplfy malloc(3) suite comparison, note VLAs
authorнаб <nabijaczleweli@nabijaczleweli.xyz>
Tue, 14 Sep 2021 12:41:27 +0000 (14:41 +0200)
committerAlejandro Colomar <alx.manpages@gmail.com>
Sun, 19 Sep 2021 19:33:32 +0000 (21:33 +0200)
commitdd004f73c319c8d652846a72efff62ddce53a1b4
treed7d4cfef8ce88cea715b8be2832d84d9841af57a
parenta4ca1d88468b4d28fc7c3e9b8d8cd4bd13bc8458
alloca.3: simplfy malloc(3) suite comparison, note VLAs

alloca() is, ex definitione, always faster than any allocator that
actually, well, allocates

Like Alejandro noted, VLAs can provide a less-flexible but sometimes
better-suited solution to the same problem class

Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
man3/alloca.3