Fix //hollow not behaving correctly#3142
Conversation
dordsor21
left a comment
There was a problem hiding this comment.
Assuming this still works (don't see why not), lgtm, thanks!
|
Oh hold up, there's a specific case for which it doesn't work |
by yet again turning a mutable bv3 into an immutable one
|
The fix worked. The case I was just talking about was something separate. |
Make it not immutable after adding, this current way you're creating extra BV3s |
|
Like this? |
Yeah I don't see why it would need to be immutable here - the queue does not actually store the BV3 and stores as an index in a long array |
|
You added the comments in the wrong place - where you added is already covered. Should be around 3301 and 3316 |
This reverts commit 9173f15.
SirYwell
left a comment
There was a problem hiding this comment.
Looks fine. I wonder if we should change MutableBV3 to create an immutable instance on add and instead have specific mutating variants instead. But that's out of scope for now.
Mm probably, but I think that should be a forcibly breaking change in v3; relocating/renaming the class e.g. |


Overview
Fixes #3083
Description
Turning the mutable position vectors of the region iterator to immutable ones, to allow the original implementation of the hollowOutRegion to function as expected.
Submitter Checklist
@since TODO.