SUMMARY
You may notice a performance slowdown for MS-DOS when creating many files
in a subdirectory. MS-DOS is much slower at accessing a subdirectory that
contains many files or deleted files than at accessing a new subdirectory
(that is, a subdirectory containing no deleted files).
This slowdown occurs because MS-DOS directories do not get smaller when you
delete a file. MS-DOS inserts a "no file here" mark for each deleted file
in a directory. There are two different "No file here" marks in the first
bytes of directories:
Value Description
-----------------------------------------------------------------
E5H No file at this location
05H No file at this location
00H No file at this location and no files after this location
Whenever you create a file, MS-DOS searches to the end of the directory to
see if a file with that name already exists. Even if files have been
deleted from the directory, MS-DOS must still check for the "No file here"
entry for each deleted file.