[
https://issues.apache.org/jira/browse/CRUNCH-508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Josh Wills resolved CRUNCH-508.
-------------------------------
Resolution: Fixed
Fix Version/s: 0.12.0
Pushed to master.
> Improve performance of Scala Enumeration counters in Scrunch
> ------------------------------------------------------------
>
> Key: CRUNCH-508
> URL: https://issues.apache.org/jira/browse/CRUNCH-508
> Project: Crunch
> Issue Type: Improvement
> Reporter: Josh Wills
> Fix For: 0.12.0
>
> Attachments: CRUNCH-508.patch
>
>
> The Scrunch Increment* traits support using Scala Enumerations as counters in
> pipelines by converting the Enumeration/Value pairs to the equivalent String
> values. The Enumeration.toString method isn't particularly optimized though,
> so doing this conversion is expensive enough from a CPU perspective that it's
> worthwhile to cache the String value so as not to have to do the computation
> for every input record.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)