[
https://issues.apache.org/jira/browse/CASSANDRA-21347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dmitry Konstantinov updated CASSANDRA-21347:
--------------------------------------------
Status: Ready to Commit (was: Review In Progress)
> 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.x, 7.x
>
> 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]