bug-coreutils
[Top][All Lists]
Advanced

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

Re: [PATCH] Use a hash rather than a linked-list for cycle check in cp


From: James Youngman
Subject: Re: [PATCH] Use a hash rather than a linked-list for cycle check in cp
Date: Tue, 22 Apr 2008 19:38:45 +0100

On Wed, Apr 16, 2008 at 10:34 PM, Bo Borgerson <address@hidden> wrote:
>  The performance benefit is there, but on my machine with a PATH_MAX of
>  4096 it's hard to see, because the userland work `cp' does is dwarfed
>  by the work the kernel does on its behalf:

Many platforms allow you to create a directory tree whose
fully-specified components are much longer than PATH_MAX, as long as
you don't try to create/delete/traverse them by their fully-qualified
name.     This included Linux and HP-UX when I tried it (in about
1995, so things may have changed).

James.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]