On Tue, 21 Mar 2023 16:29:44 GMT, Paul Sandoz wrote:
>> I have moved most of the methods to `AbstractVector` and `AbstractShuffle`,
>> I have to resort to raw types, though, since there seems to be no way to do
>> the same with wild cards, and the generics mechanism is not powerful enough
>> f
On Tue, 21 Mar 2023 16:29:44 GMT, Paul Sandoz wrote:
>> I have moved most of the methods to `AbstractVector` and `AbstractShuffle`,
>> I have to resort to raw types, though, since there seems to be no way to do
>> the same with wild cards, and the generics mechanism is not powerful enough
>> f
On Tue, 21 Mar 2023 16:29:44 GMT, Paul Sandoz wrote:
>> I have moved most of the methods to `AbstractVector` and `AbstractShuffle`,
>> I have to resort to raw types, though, since there seems to be no way to do
>> the same with wild cards, and the generics mechanism is not powerful enough
>> f
On Tue, 21 Mar 2023 16:11:50 GMT, Quan Anh Mai wrote:
> Apart from the mask implementation, shuffle implementation definitely has to
> take into consideration the element type.
Yes, the way you have implemented shuffle is tightly connected, that looks ok.
I am wondering if we can make the mask
On Tue, 21 Mar 2023 16:11:50 GMT, Quan Anh Mai wrote:
> I have moved most of the methods to `AbstractVector` and `AbstractShuffle`, I
> have to resort to raw types, though, since there seems to be no way to do the
> same with wild cards, and the generics mechanism is not powerful enough for
>
On Tue, 21 Mar 2023 10:18:19 GMT, Quan Anh Mai wrote:
> Note that generics are erased, so from the VM point of view, a
> `VectorMask` and a `VectorMask` is indifferent.
Yes, that's the easy bit :-) The mask implementation is specialized by the
species of vectors it operates on, but does it hav
On Sun, 19 Mar 2023 19:38:04 GMT, Quan Anh Mai wrote:
>> Hi,
>>
>> This patch reimplements `VectorShuffle` implementations to be a vector of
>> the bit type. Currently, VectorShuffle is stored as a byte array, and would
>> be expanded upon usage. This poses several drawbacks:
>>
>> 1. Ineffic
On Sun, 19 Mar 2023 19:38:04 GMT, Quan Anh Mai wrote:
>> Hi,
>>
>> This patch reimplements `VectorShuffle` implementations to be a vector of
>> the bit type. Currently, VectorShuffle is stored as a byte array, and would
>> be expanded upon usage. This poses several drawbacks:
>>
>> 1. Ineffic
> Hi,
>
> This patch reimplements `VectorShuffle` implementations to be a vector of the
> bit type. Currently, VectorShuffle is stored as a byte array, and would be
> expanded upon usage. This poses several drawbacks:
>
> 1. Inefficient conversions between a shuffle and its corresponding vector