Piotr Dałek wrote:
> Hello!
>>>> That's true, but concatenating strings is slow and should be
>>>> avoided whenever possible. In Anton's change there are three
>>>> properties to form a simple DataTime string including the
>>>> separator, this should be simplified IMO.
>>> "Format" could be used instead of concatenation.
>> Format is and has been always used. However the format string must
>> IMO not be concatenated before the call to FormatDateTime unless
>> speed doesn't matter.
> Then concatenate it once in property's setter.

My suggestion above, does not require any concatenation.

Arno Garrels
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to