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

High impact on compilation speed #61

Open
CyberShadow opened this issue Nov 30, 2024 · 1 comment
Open

High impact on compilation speed #61

CyberShadow opened this issue Nov 30, 2024 · 1 comment

Comments

@CyberShadow
Copy link
Member

import configy.read;

struct Config
{
}

void main()
{
	parseConfigFileSimple!Config("config.yaml");
}

The above program takes 3.5 seconds to compile on a Threadripper 3960X with DMD, which seems more than what would be reasonable to expect.

@CyberShadow
Copy link
Member Author

Seems like most of it is coming from D-YAML... would it be perhaps possible to use D-YAML via an opaque interface so that the implementation isn't imported when compiling programs that use configy?

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