<br><div class="gmail_quote"><div>David,<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Thursday 24 April 2008, Michael O'Shea wrote:<br>
> The patch replaces all directory and file information function calls<br>
> (readdir_r, ?KDE_stat, etc) with Qt functions in method void<br>
> DirectoryListThread::run() in kdelibs\kio\kio\kurlcompletion.cpp<br>
<br>
The main concert is going to be performance, did you profile it before and after?</blockquote><div><br>Since, in kurlcompletion.cpp, a worker thread is spawned specifically to scan the contents of a directory in (what I'm guessing is) a non-blocking manner, I figured that performance wasn't really an issue. Being very n00b to this, I could be very wrong.<br>
<br>If I'm right, the only thing that will vary is how quickly the dropdown list in Dolphin (in the case I'm interested in) fills up.<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

currentDir.entryInfoList() seems costly for large directories, maybe QDirIterator is better?<br>
</blockquote><div><br>I don't mind giving it a try but would you agree that the asynchronous mode of operation in kurlcompletion.cpp makes the distinction not so important ?<br><br>If I'm missing something, please share and I'll be happy to learn.<br>
<br>Cheers,<br><br>Michael<br></div></div><br>