koo-taejin opened a new pull request, #4952: URL: https://github.com/apache/cassandra/pull/4952
…ange tombstone markers ClusteringPrefix.Kind.values() creates a new array on every call. This happens when Cassandra deserializes range tombstone markers. I found this while using Temporal with Cassandra. Temporal uses many range deletes. In this workload, this array allocation was about 3% of the total memory allocations. This code also used noticeable CPU time. Cache the values array to avoid this repeated work. Thanks. :) patch by koo.taejin for CASSANDRA-21528 The [Cassandra Jira](https://issues.apache.org/jira/browse/CASSANDRA-21528) -- 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]

