Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: perlbug: seekdir/readdir broken on win32 on 5.008009, 5.012002, 5.014001

by Marshall (Prior)
on Nov 27, 2011 at 20:54 UTC ( #940279=note: print w/ replies, xml ) Need Help??


in reply to Re^2: perlbug: seekdir/readdir broken on win32 on 5.008009, 5.012002, 5.014001
in thread perlbug: seekdir/readdir broken on win32 on 5.008009, 5.012002, 5.014001

I am curious about this function (seekdir).
It just sounds like a "solution in search of a problem"?

I do most of my programming on Windows, but some on *nix. But even so, how many directory entries would one need in order for this type of a function to be "worthwhile" in terms of performance or memory? 1K? 10K? 50K? My mind boggles at directories of such sizes.


Comment on Re^3: perlbug: seekdir/readdir broken on win32 on 5.008009, 5.012002, 5.014001
Re^4: perlbug: seekdir/readdir broken on win32 on 5.008009, 5.012002, 5.014001
by Anonymous Monk on Nov 27, 2011 at 20:59 UTC

    You can bet graphical file explorers make use of it

    And you can bet they have been using it since 64kb of storage was plenty (or whatever the saying is)

      A graphical explorer wouldn't use this. Not now, not in the days of text-based windowing systems. They need to load the entire directory into memory in order to sort the file names.

        A graphical explorer wouldn't use this. Not now, not in the days of text-based windowing systems. They need to load the entire directory into memory in order to sort the file names.

        Sure, whatever you say, you know all implementation of all explorers by heart, and you can't sort data unless its all in memory at the same time

Re^4: perlbug: seekdir/readdir broken on win32 on 5.008009, 5.012002, 5.014001
by patcat88 (Deacon) on Nov 29, 2011 at 18:17 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://940279]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2014-12-25 02:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls