-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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 code duplication in c_api.cpp #3539
Conversation
Can someone review? :) |
I wonder if we should move the helper methods to a new file |
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 wonder if we should add those 2 extra files (helpers apart from public API methods), or keep everything in the same file as it is - simpler, and less code.
I thought again and don't see splitting this into separate files as that useful. @guolinke can you review? |
f9c3451
to
572e117
Compare
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.
LGTM
This pull request has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this. |
Remove code duplication in c_api.cpp through use of templates.