"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Tracey Emery <tracey@traceyemery.net>
Subject:
Re: got rm trim dirs
To:
gameoftrees@openbsd.org, ori@eigenstate.org, stsp@stsp.name
Date:
Wed, 04 Mar 2020 20:36:24 -0700

Download raw body.

Thread
On March 4, 2020 4:55:18 PM MST, ori@eigenstate.org wrote:
>> Just one more before we revert to something like the first patch.
>Using
>> scandir, we can avoid the race as we iterate the directories. But,
>> perhaps this operation is too expensive on large dirs, since there
>would
>> be a lot of malloc and freeing for each file.
>
>I suspect mallocs and frees will be lost in the noise of actually
>accessing the file system.

Indeed!


-- 
Tracey Emery