Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
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.