-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-32298][ML] tree models prediction optimization #29095
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
Conversation
|
test: Results (durations): |
|
Test build #125804 has finished for PR 29095 at commit
|
|
friendly ping @huaxingao @srowen @viirya Different another attempt to save RAM, this should be a clear optimization. I found that those methods can not be marked |
|
Is this also memory optimization? But looks like cpu time optimization from the description? |
|
@viirya This PR is only on cpu. |
srowen
left a comment
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.
Looks good as a clean optimization.
|
LGTM |
|
Merged to master |
|
Thanks all! |
What changes were proposed in this pull request?
use while-loop instead of the recursive way
Why are the changes needed?
3% ~ 10% faster
Does this PR introduce any user-facing change?
No
How was this patch tested?
existing testsuites