-
Notifications
You must be signed in to change notification settings - Fork 63
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
String passing fixes #520
String passing fixes #520
Conversation
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.
Other than the unit converter message line, everything else looks like solid string optimizations.
src/NGen.cpp
Outdated
@@ -69,6 +69,8 @@ int main(int argc, char *argv[]) { | |||
<< ngen_VERSION_PATCH << std::endl; | |||
std::ios::sync_with_stdio(false); | |||
|
|||
ut_set_error_message_handler(ut_ignore); |
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.
need to remove this. If you want to disable unit messages, build with -DUDUNITS_QUIET
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.
I think that is a commit that somehow got from one of my profiling branches into my main and has been rebased onto code sense then.
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.
Any it is removed
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.
Should be good to merge, this one change shouldn't affect the tests
This reverts commit bf51517.
[Short description explaining the high-level reason for the pull request]
Additions
Removals
Changes
Change frequently called function to take std::string& instead of std::string to avoid copys
Testing
Screenshots
Notes
Todos
Checklist
Testing checklist (automated report can be put here)
Target Environment support