You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 2, 2021. It is now read-only.
Too many static in header files. They should be "inline", instead of static. The inline means the compiler should discard duplicated symbols. If you use static, it bloats the functions for every translation unit. https://devblogs.microsoft.com/oldnewthing/20200521-00/?p=103777
It looks like some functions are no marks in headers. That violates ODR and makes compilation impossible.
We cannot use anything that relates to iostream, including filesystem. iostream introduces dead virtual functions in the binary that bloats a lot of binary size.
include<windows.h>. Windows.h is a large header file. It is extremely slow. The correct way is of course to declare functions by yourself and then use linker comments to link against them.
Even std::string, std::array need to be used carefully because they bloat compilation time. Particularly std::string
The text was updated successfully, but these errors were encountered:
kennykerr
changed the title
Rant: I do not like this project.
Feedback
Oct 1, 2021
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
https://devblogs.microsoft.com/oldnewthing/20200521-00/?p=103777
The text was updated successfully, but these errors were encountered: