in reply to Re: Assesing file timestamp
in thread Assesing file timestamp

Isn't that horribly inefficient to stat a file multiple times in the sort? Wouldn't this be the perfect place for a Schwartzian transform (as employed by broquaint) or an 'orcish' maneuver?

Or am I missing some internal caching going on here?

Update: Got a bit carried away there with my adverb ... I just wanted to make sure that I hadn't missed anything. Thanks for the clarification, davorg.

-- Hofmator

Replies are listed 'Best First'.
Re: Re: Re: Assesing file timestamp
by davorg (Chancellor) on Jan 30, 2003 at 14:17 UTC

    Well, I don't know about "horribly inefficient", but it's certainly not the fastest way to do it. broquaint's solution would be faster.

    --
    <http://www.dave.org.uk>

    "The first rule of Perl club is you do not talk about Perl club."
    -- Chip Salzenberg