[vector] Mask and Shuffle construction

Paul Sandoz paul.sandoz at oracle.com
Thu May 24 22:44:33 UTC 2018


Hi,

What plans do we have to optimize construction of Mask and Shuffle? i cannot recall where we are on this.

As a summary here are the methods on Species:

  public abstract Mask<E, S> maskFromValues(boolean... bits);
  public abstract Mask<E, S> maskFromArray(boolean[] a, int i);
  public abstract Shuffle<E, S> shuffleFromValues(int... indexes);
  public abstract Shuffle<E, S> shuffleFromArray(int[] a, int i);

Thanks,
Paul.




More information about the panama-dev mailing list