DragonFly kernel List (threaded) for 2008-02
DragonFly BSD
DragonFly kernel List (threaded) for 2008-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Globbing (was Re: HAMMER update 10-Feb-2008)


From: Chris Turner <c.turner@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 12 Feb 2008 07:59:22 -0500

Aggelos Economopoulos wrote:

So, using xargs is fundamentally better as far as memory consumption is concerned. Performance should never be an issue except maybe in pathological cases. This silly analysis does not even take into account the effects from all the memory allocation you'll have to do to for a large number of arguments.


just being pedantic but ignoring performance while discussing memory seems a bit short sighted - for e.g. 1M files an 'xargs -L' will create
1M fork()'s instead of 1, which will change the execution time significantly..


but whatever.. this thread is annoying me :)

- Chris



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]