[dev] [sbase] [patch] Optimize 'ls' and add '-U'

From: Galos, David <galosd83_AT_students.rowan.edu>
Date: Thu, 18 Jul 2013 15:00:19 -0400

Based on the discussion in 'coreutils / moreutils - DC a directory counter'
I have optimized sbase ls to easily handle large directories. The major
change is that ls no longer calls 'lstat' on files if it does not have to.

This patch also add '-U' which keeps the list from being sorted. When using
'-U', ls is constant (except for an argv duplicate) memory.

Received on Thu Jul 18 2013 - 21:00:19 CEST

This archive was generated by hypermail 2.3.0 : Thu Jul 18 2013 - 21:12:06 CEST