Commit c203958
[YDF] Faster OOB computation
Cherry-pick from google#324. Replaces single
mutex OOB computation with striped locking and an OOB gate mechanism for
better multi-threaded performance.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 6d9a7d1 commit c203958
4 files changed
Lines changed: 297 additions & 126 deletions
File tree
- yggdrasil_decision_forests/learner/random_forest
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
| 66 | + | |
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
| |||
126 | 128 | | |
127 | 129 | | |
128 | 130 | | |
| 131 | + | |
129 | 132 | | |
130 | 133 | | |
131 | 134 | | |
| |||
0 commit comments