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

From: Martti Kühne <mysatyre_AT_gmail.com>
Date: Mon, 22 Jul 2013 10:14:19 +0200

On Thu, Jul 18, 2013 at 9:00 PM, Galos, David
<galosd83_AT_students.rowan.edu> wrote:
> 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.


While we're at it, why not fully remove the necessity of wc -l?

cheers!
mar77i

Received on Mon Jul 22 2013 - 10:14:19 CEST

This archive was generated by hypermail 2.3.0 : Mon Jul 22 2013 - 10:24:05 CEST