Classes: XFolder, XWPFileSystem, XFldDataFile, XWPProgram, XWPProgramFile
"Turbo folders" are a shorthand name for a large number of enhancements to the internal handling of folder contents in the Workplace Shell. In short, opening folders with lots of files in them will become significantly faster.

For safety, turbo folders are disabled by default. You can turn them on in the "&xwp; Setup" object.

The speed enhancements provided with folder populating are described on this page. Note that starting with V1.0.1, when you enable turbo folders, extended associations are enabled automatically as well. As it has turned out, enabling only one of them made the WPS quite unstable. See Extended file associations for a detailed description of that feature.

Short description

When a folder is first opened in the WPS, it is "populated" -- which means that all the files are collected from the directory that is represented by the folder. As you will know, the WPS is not good at handling large amounts of files. Opening folders with many objects (say, a thousand files or more) can hog the system for minutes.

"Turbo folders" can partly fix this problem. Below is a benchmark comparison for some pathological folders with the time in seconds that populating these folders has taken on my system. This benchmark only shows the time that invoking the QUICKOPEN=IMMEDIATE XFolder setup string has consumed. As usual, your results may vary, depending on the speed of your hard disks and processor(s).

                        turbo off       turbo on

    JFS folder with       160 s           53 s
    10,000 files

    JFS folder with       211 s           60 s
    13,000 files

    HPFS folder with                      56 s
    10,000 files
Apparently the time the WPS normally takes for populating folders increases exponentially with the number of files in the folder.

Detailed description

Essentially, the "turbo folders" feature is a full rewrite of the folder populate code. &xwp; uses the following techniques to make this a lot faster: