Improve performance: ReadableStreamingData.readBytes(BufferedData)
Open
Good First Issue
- Dominant language
- Java
- Stars
- 44
- Forks
- 15
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 12
Description
The implementations of `ReadableStreamingData.readBytes(BufferedData)` use the fastest path when the input is `ByteArrayBufferedData`. Otherwise they use a moderately buffered implementation in the parent interface, or a horribly slow implementation for CharBufferToWritableSequentialData.
Find a way to provide optimal implementations for other kinds of BufferedData that would use bulk data transfer operations (Arrays.copy, Unsafe, and similar.)
For more details, see https://github.com/hashgraph/pbj/issues/191
Contributor guide
Assessment
This issue has not been assessed yet.