Speed up file open for Exodus and CTH
Please speed up file opens for Exodus and CTH. Specifically, please speed up the display of file names when you get to a directory that has data in it. We sometimes have directories that have hundreds of thousands to millions of files. Other times we have a few hundred or thousand files, but they may be up to tens of gigabytes each. This can lock up the opening of these directories for minutes or tens of minutes in ParaView.
Reference for this work: http://blog.schmorp.de/2015-07-12-how-to-scan-directories-fast-the-tricks-of-aio_scandir.html
After a quick read, the trick is to stop doing a stat of all files in the data directory. Data directories often have no subdirectories, and you can find this out by using a 'stat .'. If you have only two links (i.e., one for . and one for ..), don't look for subdirectories! Then, one idea to get all of the file names would be to use 'find .' Do a man on find, and read the noleaf option.
Give the option in settings to turn this feature on or off (since we may find it causes bugs on some systems).