[ 
https://issues.apache.org/jira/browse/CALCITE-4551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17308252#comment-17308252
 ] 

Julian Hyde commented on CALCITE-4551:
--------------------------------------

Do these objects actually show up in profiling? I think that modern JVMs do 
well with small short-lived objects.

> Fly Weight for MD Cache Keys
> ----------------------------
>
>                 Key: CALCITE-4551
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4551
>             Project: Calcite
>          Issue Type: Improvement
>            Reporter: James Starr
>            Priority: Major
>
> Create cache keys for metadata calls generates a fair bit of object turn in 
> trivial cases, more expensive than the actual metadata call.  Many metadata 
> calls could reuse their cache keys since the are functionally identical.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to