-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ToString using string buffer instead concatenation #2
Comments
Hi, |
Hi, For a large JSON Document, using string concatenation would have impact on performance because of string memory allocation. String Buffering would be implemented as:
Best regards. |
Hi Hafedh, Nice suggestion! I'll try it, just let me finish an update about better Exception handling and descriptions. Thanks, Marcelo. |
New sFormat() and sFormatItem() methods using TStringStream buffer (Issue #2). Improved unit tests for invalid and valid (weird) JSON.
Hi Hafedh, |
Hello,
Would a String Buffer, String Stream, Binary Stream... be used instead String Concatenation when invoking ToString?
Delphi has TStringBuilder Class.
Best regards.
The text was updated successfully, but these errors were encountered: