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

Consider declare & define macro pairs for SDL definitions #81

Open
TzuChieh opened this issue Dec 2, 2023 · 0 comments
Open

Consider declare & define macro pairs for SDL definitions #81

TzuChieh opened this issue Dec 2, 2023 · 0 comments
Labels
Engine Core of the renderer. Optimization

Comments

@TzuChieh
Copy link
Owner

TzuChieh commented Dec 2, 2023

Currently, SDL definitions are done via a series of macros, e.g., PH_DEFINE_SDL_CLASS(). This can slow down the compiler quite a lot since they are template heavy. Consider to provide a declaration variant for such macros, so definitions will not need to be compiled in other TUs.

This issue should be analyzed when the compile time exceeds 15 mins (longer than my most short breaks, hence reducing productivity).

@TzuChieh TzuChieh added Engine Core of the renderer. Optimization labels Dec 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Engine Core of the renderer. Optimization
Projects
Status: To do
Development

No branches or pull requests

1 participant