Results 1 to 40 of 81

Thread: Directory Tree - Generates a list of subdirectories.

Threaded View

  1. #9

    Thread Starter
    Frenzied Member
    Join Date
    Feb 2003
    Posts
    1,945

    Re: Directory Tree - Generates a list of subdirectories.

    Quote Originally Posted by Tech99 View Post
    Too bad if the situation is that kind. Slows down substantially.

    We have instructed not to use '.' in directory names, in our file handling applications. Otherwise performance in file systems containing over 10k folders, would be very sluggish - as you are enumerating files also, usually tens of thousands to at least few hundred thousand.
    Since my program is meant as a generic demonstration, I tried not to exclude anything for the sake of speed. If people feel they could use my code, they're perfectly free to make any changes they like, for whatever reason. So I'm probably going to leave the code "as is" for now. But I also understand your point about having to make certain sacrifices (such as omitting directory's with extensions in their name) in order to keep things fast.

    Thanks for the comments.
    Last edited by Peter Swinkels; Nov 15th, 2015 at 03:03 PM. Reason: typo

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width