mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-06-07 12:45:40 +00:00
Reduce merge allocations
This commit is contained in:
parent
07f42e8057
commit
2fb065b9fb
@ -240,7 +240,7 @@ fn merge_cbo_bitmaps(
|
|||||||
"del is not a subset of current, which must be impossible."
|
"del is not a subset of current, which must be impossible."
|
||||||
);
|
);
|
||||||
let output = match add {
|
let output = match add {
|
||||||
Some(add) => (¤t - (&del - &add)) | (add - del),
|
Some(add) => (¤t - (del - &add)) | add,
|
||||||
None => ¤t - del,
|
None => ¤t - del,
|
||||||
};
|
};
|
||||||
if output.is_empty() {
|
if output.is_empty() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user