3 ms·
That is how strings work in Delphi/Pascal. All strings have a reference count. When you change a string, and the ref count is not one, it is copied before the
by benibela 7y ago
That is how strings work in Delphi/Pascal.
All strings have a reference count. When you change a string, and the ref count is not one, it is copied before the change. If the ref count is one, it is not copied