Remove the redundant element type without coping the source data

No. In-place operations preserve the element type of the array, since they’re just setting elements - they don’t mess with the overall type of the array, only single elements. Other threads/objects may have a reference to this array as well, while expecting to be able to insert Missing at their leisure, so such operations are (in general) not safe to do.

5 Likes