-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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: reduce build time #4232
Conversation
@@ -5,7 +5,7 @@ | |||
#include "vw/common/vw_exception.h" | |||
#include "vw/core/reductions/cb/cb_algs.h" | |||
#include "vw/core/scope_exit.h" | |||
#include "vw/core/vw.h" | |||
// #include "vw/core/vw.h" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
delete this line instead of commenting it out?
@@ -2,6 +2,8 @@ | |||
// individual contributors. All rights reserved. Released under a BSD (revised) | |||
// license as described in the file LICENSE. | |||
|
|||
#define NOMINMAX |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this used to be inside a ifdef _WIN32, is there a reason to not follow that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CLI will only build on windows as far as I know so I figured it wasnt necessary
On my machine my build time went from about 30s to 17s.