Date: Sun, 24 Feb 2013 10:19:57 -0700 From: Ian Lepore <ian@FreeBSD.org> To: Jeremy Chadwick <jdc@koitsu.org> Cc: Michael Ross <gmx@ross.cx>, freebsd-stable@FreeBSD.org, John Mehr <jcm@visi.com> Subject: Re: svn - but smaller? Message-ID: <1361726397.16937.4.camel@revolution.hippie.lan> In-Reply-To: <20130224063110.GA53348@icarus.home.lan> References: <1359320641-6493504.60501067.fr0RL3aYw027137@rs149.luxsci.com> <web-10418670@mailback3.g2host.com> <1359380582-6256705.77592125.fr0SDgrYH000991@rs149.luxsci.com> <web-10502111@mailback3.g2host.com> <web-12014638@mailback4.g2host.com> <op.wszomvfyg7njmm@michael-think> <20130224031509.GA47838@icarus.home.lan> <op.wszrv9k5g7njmm@michael-think> <20130224041638.GA51493@icarus.home.lan> <op.wszt3wh2g7njmm@michael-think> <20130224063110.GA53348@icarus.home.lan>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 2013-02-23 at 22:31 -0800, Jeremy Chadwick wrote: > > Also, John, please consider using malloc(3) instead of heap-allocated > buffers like file_buffer[6][] (196608 bytes) and command[] (32769 > bytes). I'm referring to this: Why? I absolutely do not understand why people are always objecting to large stack-allocated arrays in userland code (sometimes with the definition of "large" being as small as 2k for some folks). -- Ian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1361726397.16937.4.camel>