Skip to content

Fix accidental deep copy in Roaring64Map::frozenView#804

Merged
lemire merged 1 commit intoRoaringBitmap:masterfrom
k-lukas:patch-1
Apr 28, 2026
Merged

Fix accidental deep copy in Roaring64Map::frozenView#804
lemire merged 1 commit intoRoaringBitmap:masterfrom
k-lukas:patch-1

Conversation

@k-lukas
Copy link
Copy Markdown
Contributor

@k-lukas k-lukas commented Apr 27, 2026

There is a unwanted deep copy when using the frozenView of the Roaring64Map since the const-ness causes the copy Roaring constructor to be called in emplaceOrInsert

@lemire lemire merged commit dd62e69 into RoaringBitmap:master Apr 28, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants