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

refactor: use compile-time cli arg sets. #38768

Conversation

trop[bot]
Copy link
Contributor

@trop trop bot commented Jun 13, 2023

Backport of #38748

See that PR for details.

Notes: none

trop bot and others added 2 commits June 13, 2023 19:38
We're currently building these on the heap with `std::set<std::string>`
but this can be a very small compile-time container instead.

Marking as 'refactor' rather than 'perf' since this isn't called often,
but moving from heap to compile-time is good and using this container
makes the code more readable.

Co-authored-by: Charles Kerr <charles@charleskerr.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
@trop trop bot requested a review from ckerr June 13, 2023 19:38
@trop trop bot mentioned this pull request Jun 13, 2023
3 tasks
@trop trop bot added 25-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes labels Jun 13, 2023
@zcbenz zcbenz merged commit 4249800 into 25-x-y Jun 14, 2023
13 checks passed
@zcbenz zcbenz deleted the trop/25-x-y-bp-refactor-use-compile-time-cli-arg-sets--1686685103997 branch June 14, 2023 06:17
@release-clerk
Copy link

release-clerk bot commented Jun 14, 2023

No Release Notes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
25-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants