Commit 0a102089 authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

[t:3999] small speedup to orthopush-flush

git-svn-id: file:///svn/toku/tokudb@35837 c7de825b-a66e-492c-adef-691d508d4ae1
parent 7e045643
......@@ -592,7 +592,8 @@ flush_to_leaf(BRT t, bool make_leaf_up_to_date, bool use_flush) {
parent_messages_present[i]++;
}
}
for (i = num_child_messages - 1; i >= 0; --i) {
for (i = j + (~7 & (num_child_messages - 1)); i >= 0; i -= 8) {
if (i >= num_child_messages) { continue; }
DBT childkeydbt, childvaldbt;
{
u_int32_t keylen, vallen;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment