-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
Description
Various improvements to getValue(fieldIdx) in RowWithGetters mentioned here:]
-
Minimize memory overhead of cache using either a index lookup (array) or a single hash map if number of fields exceeds the initial hashmap capacity
-
The cache should be checked before calling a getter to avoid any potentially unnecessary conversion in the getter itself.
-
Nested rows should be cached, otherwise the cache of such nested rows can't be leveraged.
-
Handling of collections / maps / iterables can be significantly improved by simply skipping the transform in all cases where
getValuefor members is the identity transform.
Imported from Jira BEAM-14166. Original Jira may contain additional context.
Reported by: mosche.