in reply to Re: how to do effective sort in perl
in thread how to do effective sort in perl

Of course, all of this is overkill for the number of items likely to be found in any sensible directory!

heh. I've actually had to scold some of my co-workers, telling them they really should not be putting 300,000 files in a single directory, and there are easy enough ways to avoid this... Even 50,000 seems like too much to me (but then, I learned programming on a pdp 11-10, and my sense of scale may be a bit old-fashioned).

Replies are listed 'Best First'.
Re^3: how to do effective sort in perl
by Polonius (Friar) on May 04, 2006 at 14:57 UTC

    heh. I've actually had to scold some of my co-workers, telling them they really should not be putting 300,000 files in a single directory, and there are easy enough ways to avoid this...

    Anything more than a screenful seems excessive to me! But then, I grew up on a Data General S-250, IIRC (Think PDP 11-70 - that sorta era, but less successful.)

    Polonius
OT: Re^3: how to do effective sort in perl
by MidLifeXis (Monsignor) on May 04, 2006 at 17:37 UTC

    Been a while since I have referred anyone to this, but it is a pretty good introductory discussion <shamelessplug>(and response)</shamelessplug> on why some directory structures slow down after a certain number of documents are included. Not necessarily useful for those Old System Administrators1.

    1 - OSA's never die, they just put down roots.

    --MidLifeXis