[
https://issues.apache.org/jira/browse/CALCITE-4551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17308483#comment-17308483
]
Stamatis Zampetakis commented on CALCITE-4551:
----------------------------------------------
Hi [~jamesstarr], thanks for working on this. When working with small
(millisecond, nanosecond) performance improvements
[JMH|https://openjdk.java.net/projects/code-tools/jmh/] is a more reliable way
to compare before and after. Moreover, it is not totally clear to me what's the
before and after in this case and what is the use-case that surfaced this need.
> 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)