Skip to content

Improve codegen performance#1177

Merged
sugmanue merged 1 commit into
smithy-lang:mainfrom
sugmanue:sugmanue/codegen-perf
May 15, 2026
Merged

Improve codegen performance#1177
sugmanue merged 1 commit into
smithy-lang:mainfrom
sugmanue:sugmanue/codegen-perf

Conversation

@sugmanue
Copy link
Copy Markdown
Contributor

Issue #, if available:

Description of changes:

Improves the performance of the rendering of Javadocs with HTML elements, by avoiding allocs, CSS selectors, and simple regex replacements.

Also unwraps the stream in getSortedAndFilteredImports() to use a plain old loop.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@sugmanue sugmanue merged commit 541290c into smithy-lang:main May 15, 2026
3 checks passed
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.

2 participants