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

[Enhancement]: Find the optimal BOOST_DI_CFG_CTOR_LIMIT_SIZE #2104

Open
Harrm opened this issue May 21, 2024 · 0 comments
Open

[Enhancement]: Find the optimal BOOST_DI_CFG_CTOR_LIMIT_SIZE #2104

Harrm opened this issue May 21, 2024 · 0 comments
Assignees

Comments

@Harrm
Copy link
Contributor

Harrm commented May 21, 2024

Description

Boost DI has BOOST_DI_CFG_CTOR_LIMIT_SIZE compile-time parameter, which limits the maximum number of parameters in a constructor that Boost DI would accept. We need to measure how much influence it has on our compilation time, and if it has a significant influence, make it smaller and make our constructors with a lot of parameters have less parameters.

Motivation

If this parameter is larger than needed, compilation becomes slower. If smaller, Boost DI doesn't work with constructors with a lot of parameters.

Additional context

No response

Are you planning to do it yourself in a pull request ?

Yes

@Harrm Harrm self-assigned this May 21, 2024
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

No branches or pull requests

1 participant