[
https://issues.apache.org/jira/browse/CASSANDRA-21347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dmitry Konstantinov updated CASSANDRA-21347:
--------------------------------------------
Fix Version/s: 6.0-alpha2
7.0
(was: 6.x)
(was: 7.x)
Source Control Link:
https://github.com/apache/cassandra/commit/bfc4b0bb3656f6fe428f8681e8f245781aa10f72
Resolution: Fixed
Status: Resolved (was: Ready to Commit)
> Avoid allocation by getFunctions in SelectStatement.authorize
> --------------------------------------------------------------
>
> Key: CASSANDRA-21347
> URL: https://issues.apache.org/jira/browse/CASSANDRA-21347
> Project: Apache Cassandra
> Issue Type: Improvement
> Components: CQL/Interpreter
> Reporter: Dmitry Konstantinov
> Assignee: Dmitry Konstantinov
> Priority: Normal
> Fix For: 6.0-alpha2, 7.0
>
> Attachments: CASSANDRA-21347-6.0_ci_summary.htm,
> CASSANDRA-21347-trunk_ci_summary.htm, image-2026-05-03-18-13-26-558.png,
> may3_alloc.html
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> getFunctions costs ~ 0.8% of allocations in a select a 10 row partition test
> !image-2026-05-03-18-13-26-558.png|width=700!
> getFunctions can be pre-calculated and re-used (same idea was used in
> CASSANDRA-20167 for ModificationStatement), also it is empty quite frequently
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]