[
https://issues.apache.org/jira/browse/BEAM-14134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kenneth Knowles updated BEAM-14134:
-----------------------------------
Status: Open (was: Triage Needed)
> Many coders cause significant unnecessary allocations
> -----------------------------------------------------
>
> Key: BEAM-14134
> URL: https://issues.apache.org/jira/browse/BEAM-14134
> Project: Beam
> Issue Type: Improvement
> Components: sdk-java-core
> Reporter: Steve Niemitz
> Assignee: Steve Niemitz
> Priority: P2
>
> Many coders (BigEndian*, Map, Iterable, Instant) use DataInputStream to read
> longs/ints/shorts. Internally each DataInputStream allocates ~200 bytes of
> buffers when instantiated. This means every long, int, short, etc decoded
> allocates over 200 bytes.
> We should eliminate all uses of DataInputStream in hot-paths and replace it
> with something more efficient.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)