Efficient File Enumeration
Delphi offers two ways of enumerating files in a directory and its sub-directories, the first is the classic (and buggy) FindFirst/FindNext, the second is IOUtils TDirectory.GetFiles and not very efficient.
Here is why and how I implemented DWScript‘s dwsXPlatform.CollectFiles, and a tip about getting a small system-wide boost as a bonus.
Moving Hosts – Now Settled
A month ago I started experimenting with various VPS hosting solutions for this website. Well I now consider myself settled for the time being.
Here are a few of my findings for those that were interested. Nothing Delphi-related there.
Unicode Leftover Bug From Hell
Or in other words, before getting to the gory details, DWScript now works when compiled with {$HIGHCHARUNICODE ON} on a machine with Cyrillic code-page 1251.
DWScript was converted years ago to Unicode, and been working just fine.
But there was a leftover bug from that crossing of the Styx.
MapFileStats v1.4 – Now With More Details
MapFileStats v1.4 is now available, this version provides a lot more details about where the bytes in your executables come from. It also features improved visualization and performance.