Skip to content

Reduce std.getopt compile time by removing std.format calls#10839

Merged
thewilsonator merged 1 commit intodlang:masterfrom
burner:getopt_compile_time_improvment
Aug 4, 2025
Merged

Reduce std.getopt compile time by removing std.format calls#10839
thewilsonator merged 1 commit intodlang:masterfrom
burner:getopt_compile_time_improvment

Conversation

@burner
Copy link
Member

@burner burner commented Aug 4, 2025

calling std.format, even though an awesome library, increases compile time quite a bit. This PR removes most calls to std.format.format.

@dlang-bot
Copy link
Contributor

Thanks for your pull request, @burner!

Bugzilla references

Your PR doesn't reference any Bugzilla issue.

If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub run digger -- build "master + phobos#10839"

@burner
Copy link
Member Author

burner commented Aug 4, 2025

calling std.format, even though an awesome library, increases compile
time quite a bit. This PR removes most calls to std.format.format.
@burner
Copy link
Member Author

burner commented Aug 4, 2025

@thewilsonator thank you

@thewilsonator thewilsonator merged commit ae07a90 into dlang:master Aug 4, 2025
10 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.

3 participants