Skip to content

feat: limit line width for PlaintextDraft#8109

Closed
jennifer-richards wants to merge 2 commits into
ietf-tools:mainfrom
jennifer-richards:streamline-plaintextdraft
Closed

feat: limit line width for PlaintextDraft#8109
jennifer-richards wants to merge 2 commits into
ietf-tools:mainfrom
jennifer-richards:streamline-plaintextdraft

Conversation

@jennifer-richards

@jennifer-richards jennifer-richards commented Oct 29, 2024

Copy link
Copy Markdown
Member

Long lines cause massive slowdowns parsing text drafts with the PlaintextDraft class - up to 1000x compared to shorter lines. This limits the width that is examined when parsing a draft to avoid this problem.

Removes an unused method that happens to use PlaintextDraft as well.

@jennifer-richards

Copy link
Copy Markdown
Member Author

Cutting off the lines impacted the PlaintextDraft parsing results for many older drafts, so abandoning this for now.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Dec 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant