On Thu, 3 Mar 2022 17:40:13 GMT, Paul Sandoz <psan...@openjdk.org> wrote:

> I guess the following: `mask.cast(IntVector.species(shape())` is more 
> efficient than: `m.cast(vspecies().asIntegral()))` ?

Yeah, that's one point. Another main reason is 
`m.cast(vspecies().asIntegral()))`  cannot be handled well in the superclass 
due to the java generic issues.

Thanks for the reiview @PaulSandoz !

-------------

PR: https://git.openjdk.java.net/jdk/pull/7654

Reply via email to