[CMake] cmake-gui has very slow path completion in directories with many files

Jed Brown jed at 59A2.org
Sun Oct 24 17:41:21 EDT 2010


Entering a path in cmake-gui causes a long stall when the directory has many
files.  For example, /usr/bin and /usr/lib have about 4000 files, and when
typing a path to /usr/lib/libfoo.so, the gui locks up completely for 15 to
20 seconds.  This is not a file system issue since listing the directory is
instantaneous.  I wonder if cmake's directory handling or completion
algorithm has quadratic complexity.

cmake version 2.8.2

Qt 4.7.0 (but I've seen the same behavior at least since 4.4)

Linux kunyang 2.6.35-ARCH #1 SMP PREEMPT Wed Sep 29 08:45:18 CEST 2010
x86_64 Intel(R) Core(TM)2 Duo CPU P8700 @ 2.53GHz GenuineIntel GNU/Linux

Jed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20101024/b96f0899/attachment.htm>


More information about the CMake mailing list