Is (Embarcadero) Delphi’s code optimized for speed? No? Here is how to optimize string speed

The short answer is a big NO! No the long answer: Today I needed a function that will wrap a string (a contiguous block of characters with no spaces) after 80 characters. Not only that I have found SysUtils.WrapText unsuitable (it can only wrap text IF the text contains spaces) but it is also terrible […]

Is (Embarcadero) Delphi’s code optimized for speed? No? Here is how to optimize string speed Read More »