uschindler commented on code in PR #14896:
URL: https://github.com/apache/lucene/pull/14896#discussion_r2209764029
##########
lucene/core/src/java24/org/apache/lucene/internal/vectorization/PanamaVectorUtilSupport.java:
##########
@@ -54,6 +55,11 @@ final class PanamaVectorUtilSupport implements
VectorUtilSupport {
// preferred vector sizes, which can be altered for testing
private static final VectorSpecies<Float> FLOAT_SPECIES;
+ private static final VectorSpecies<Double> DOUBLE_SPECIES =
+ PanamaVectorConstants.PREFERRED_DOUBLE_SPECIES;
+ // This create a vector species which we make sure have exact half bits of
DOUBLE_SPECIES
+ private static final VectorSpecies<Integer> INT_FOR_DOUBLE_SPECIES =
Review Comment:
Thanks! I was just wondering about the `/2` and looked hardcoded to me.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]