Unnecessary memory allocation in TStringHelper.IsNullOrWhiteSpace

Summary

The SysUtils.TStringHelper.IsNullOrWhiteSpace() function, due to the call to Trim(), can lead to memory allocation, which is not necessary at all.

Compiler version:

3.3.1-10956-gbeb97b81

Possible fixes

It seems that the proposed version is spared from this.

IsNullOrWhiteSpace.patch

Assignee Loading
Time tracking Loading