PATCH: inotifyd.c: Implement a builtin 'echo' command
Rich Felker
dalias at aerifal.cx
Mon Oct 10 02:16:40 UTC 2011
On Sun, Oct 09, 2011 at 09:10:08PM +0200, Denys Vlasenko wrote:
> In busybox we tend to lean towards simplicity
> at the expense of more code.
>
> Yes, fork is much more expensive than write.
> It doesn't mean it is a real problem, as opposed to aesthtical
> feeling of "ohhh, we can do it so much faster!"
>
> Is it a *real* problem for you?
This patch is really small, and sometimes there's an interest in
avoiding premature _pessimization_. That is, it's nice to avoid making
an operation that seemingly should be fast pathologically slow,
because when someone later runs into the slowness, they're going to
jump through hoops and write really ugly workarounds for the problem
rather than fixing it...
Rich
More information about the busybox
mailing list