On Sat, 28 Dec 2019 16:06:20 -0800
Michael Forney <[email protected]> wrote:

Dear Michael,

> There is a slight performance benefit, but it is pretty negligible due
> to system call overhead. I tested du(1) on an extracted linux-5.4.6
> source tree and saw an improvement of about 4-5% on my system
> (comparing average of 20 runs).
> 
> I think the main benefit is the decreased stack usage and the
> possibility to refactor other tools like cp to share the recurse code
> (since now the base name is passed by itself).

this is really cool! 4-5% is definitely quite a bit and I would not
call it negligible.
Keep up the great work!

With best regards

Laslo

Attachment: pgperLIXpM4d0.pgp
Description: OpenPGP digital signature

Reply via email to