Currently they're traits implemented by the array, but this provides no validation that the array is actually the correct dtype.
By making them vtables, traits implemented by the encoding, we can then ensure the correct dtype when we downcast and array or ArrayData into the variant trait.
Currently they're traits implemented by the array, but this provides no validation that the array is actually the correct dtype.
By making them vtables, traits implemented by the encoding, we can then ensure the correct dtype when we downcast and array or ArrayData into the variant trait.