[Feature Request][Go SDK]: Issue 22900 Followup: Optimize short reads of iterators for Length Prefixed coders.
Open
go
new feature
P3
performance
- Dominant language
- Java
- Stars
- 8.7k
- Forks
- 4.7k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 196
Description
### What would you like to happen?
As a followup to #22900, there's an opportunity to optimize "short reads" for iterators that need to consume the required number of elements on Close before the next element can begin processing.
If the coder type is Length Prefixed (strings, []bytes, custom coders, rows etc), it's possible to have a "skip" decoder that simply consumes the next values bytes, and avoid allocation the type in the first place.
### Issue Priority
Priority: 3
### Issue Component
Component: sdk-go
Contributor guide
Assessment
This issue has not been assessed yet.