delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/01/26/16:32:07

Date: Fri, 26 Jan 1996 16:24:24 -0500 (EST)
From: Michael Phelps <morphine AT hops DOT cs DOT jhu DOT edu>
To: djgpp AT delorie DOT com
Subject: findnext() question
Message-ID: <Pine.SOL.3.91.960126162126.9735A-100000@hops.cs.jhu.edu>
MIME-Version: 1.0

	I have a program that uses the findfirst()/findnext() construct 
to read in filenames to be processed.  I have noticed, however, that for 
one particular directory I have (which contains around 279 files), when 
the program gets about halfway through the files, it slows down 
substantially.  I have two questions about this:
	1)  Why does this happen?
	2)  Is there a workaround which allows maximum speed through all 
	    the files?

Thanks.

						---Michael Phelps
						   morphine AT cs DOT jhu DOT edu


                               CH3
                               |
                               N
                             / |
                     ______/   |
                    /      \   CH2
             _____/         \__|__      
           //     \\        /  |  \\     
         //        \\______/___CH2 \\  
          \        /       \       /
           \______/         \_____/
          / ------ \       /      \
        OH           \   /         OH
                       O
 
                   Morphine

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019