Skip to content

Limit length of strings while building#137

Merged
boulter merged 2 commits into
masterfrom
limit-string-builder
Aug 3, 2017
Merged

Limit length of strings while building#137
boulter merged 2 commits into
masterfrom
limit-string-builder

Conversation

@boulter

@boulter boulter commented Aug 3, 2017

Copy link
Copy Markdown
Contributor

In #108, we limited the size of output as we concatenated nodes. This did not prevent the case of a single node (tag) producing a large string. This replaces the standard StringBuilder with a builder that refuses to grow over the specified size in every place where we could possibly generate a very large string.

@hs-lsong @jmagnarelli-hs

@hs-lsong hs-lsong left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@boulter boulter merged commit 9899421 into master Aug 3, 2017
@boulter boulter deleted the limit-string-builder branch August 3, 2017 20:31
@jmagnarelli-hs

Copy link
Copy Markdown
Contributor

A little late, but LGTM as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants