[
https://issues.apache.org/jira/browse/APEXCORE-522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15460377#comment-15460377
]
Thomas Weise commented on APEXCORE-522:
---------------------------------------
The only usage of the codecs is during construction of the logical plan
(attributes)? If so, then optimizing this does not look very important.
> Promote singleton usage pattern for String2String, Long2String and other
> StringCodecs
> -------------------------------------------------------------------------------------
>
> Key: APEXCORE-522
> URL: https://issues.apache.org/jira/browse/APEXCORE-522
> Project: Apache Apex Core
> Issue Type: Improvement
> Reporter: Vlad Rozov
> Assignee: Vlad Rozov
> Priority: Minor
>
> String2String codec does not hold state, a single instance of the same
> String2String class may be reused.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)