You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Parsing files [file9.png, file10.png] gives two items even if mergePadding config is set. But [file8.png, file9.png, file10.png, file11.png] works.
This happened because splitAllAndSort function is called before merging padding in parse() function. And there we are losing index info for single items.
if (bucket.splittable()) {
const size_t index = getPivotIndex(strategy, bucket);
if (index == LOCATION_NONE) {
bucket.flatten(pusher);
} else {
bucket.split(index, pusher);
}
} else {
if (bucket.single()) {
bucket.flatten(pusher); // HERE WE ARE LOOSING INDECES
} else {
buckets.emplace_back(std::move(bucket));
}
}
The text was updated successfully, but these errors were encountered:
Parsing files [file9.png, file10.png] gives two items even if mergePadding config is set. But [file8.png, file9.png, file10.png, file11.png] works.
This happened because
splitAllAndSort
function is called before merging padding inparse()
function. And there we are losing index info for single items.The text was updated successfully, but these errors were encountered: