Skip to content
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

perf: move no-capture check to the inside of the ConfigWrapper constructor; avoid when only --help #2376

Merged
merged 3 commits into from
Nov 21, 2024

Conversation

antazoey
Copy link
Member

@antazoey antazoey commented Nov 6, 2024

What I did

Really small perf but doing it anyway.
Small in that you can't really see it when measuring, but slightly less stuff happens now when passing --help and code is cleaner feeling and more testable. So all good things.

How I did it

Move logic to ctor

How to verify it

things still work as they did

Checklist

  • All changes are completed
  • New test cases have been added
  • Documentation has been updated

@antazoey antazoey enabled auto-merge (squash) November 21, 2024 17:52
@antazoey antazoey merged commit 2073b52 into ApeWorX:main Nov 21, 2024
16 checks passed
@antazoey antazoey deleted the refactor/move-verbosity-check branch November 21, 2024 17:59
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