Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (30m)  netbsd-10 (18d)  netbsd-9 (18d)  netbsd-8 (23d) 

2024-06-04 06:55:00 UTC Now

2009-09-29 13:30:17 UTC MAIN commitmail json YAML

Remove fts sorting.  It was originally put there to copy files
before directories since files (usually) are in the same cylinder
group and subdirectories aren't.  However, this mostly changed with
the new ffs dirpref algorithm in 2001.

No sorting has two effects:
1) copy appears to be somewhat faster (e.g. on my laptop cp'ing build
  objdir to tmpfs is 7% faster after the change)
2) source file parameters no longer get randomly shuffled due to
  fts doing an unstable sort of them.  this means that
  "cp 1 2 3 4 dest/" will copy the files in that order instead
  of e.g. 3 4 1 2.

(pooka)