Bret McGuire created CASSJAVA-134:
-------------------------------------
Summary: Experiment with the Java17 vector API re: manipulation of
vectors
Key: CASSJAVA-134
URL: https://issues.apache.org/jira/browse/CASSJAVA-134
Project: Apache Cassandra Java driver
Issue Type: Improvement
Reporter: Bret McGuire
A consequence of moving to Java17 for 5.0. Java17 included the second
incubation of the vector API (see [JEP 414|https://openjdk.org/jeps/414]) so
I'm wondering if we can leverage that to provide more efficient vector
manipulations than what's provided via CqlVector.
I'm not envisioning a wholesale replacement of CqlVector (even though we would
target something like this for 5.0). I'm imagining a set of codecs to perform
the translation that users could leverage if they wish to do so. Besides,
based on some preliminary research it looks like early versions of this API
only support vectors of primitive types anyway and we'd need support for
arbitrary types. But still, if somebody _knows_ they're using vectors of
primitive types the API could offer some gains... and I'm guessing at least a
fair number of folks would be using primitives here.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]