tang-hi commented on PR #12417: URL: https://github.com/apache/lucene/pull/12417#issuecomment-1628201127
> > What I'm not sure of is how to efficiently get into an int[] for output > > Perhaps you could consider utilizing the [reinterprestAsInts](https://docs.oracle.com/en/java/javase/17/docs/api/jdk.incubator.vector/jdk/incubator/vector/ByteVector.html#reinterpretAsInts()) method? However, I am uncertain if it would be the most optimal approach for this task. Sorry, perhaps I misunderstood your question. Are you asking how to convert a byte vector with 16 elements into an array of integers with 16 elements? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org