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 _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
