Richard Hensh wrote: >From: Kevin Smith [mailto:sent / qualitycode.com] >>Richard Hensh wrote: >>>Now that someone has straightened me out on the use of **, I have a >>>performance question. Running the following script on my C: drive took >>about >>>497 seconds. The drive contains 32701 files. Is this slow? >>> >>>def testme >>> a = Time.now >>> puts Dir["**/*"].length >>> b = Time.now >>> puts b-a >>>end >>Well, you're printing out 64 filenames per >>second, which seems reasonable, since video >Hmm, I thought I was just printing the hash length?? Am I missing something? Um. No, you're not. Please disregard my earlier message. It was obviously sent by my evil and careless twin who hasn't learned to run sample code before making wild comments about it. Time to change my password :-) Kevin