Parse Protobuf messages as lazy bytestrings #119
Labels
enhancement
New feature or request
performance
Performance related issues
priority: low
Minor enhancements
We currently turn lazy bytestrings into strict bytestrings before parsing them; it would be nicer if we could avoid this step (these chunks are coming from the network layer, it should not be necessary to allocate a single contiguous chunk of memory to parse them). This is blocked on google/proto-lens#62 .
(Fixing this in
proto-lens
is non-trivial, because the first thing their parser does is turn the strict bytestring into a C pointer to the raw bytes and then proceed from there.)The text was updated successfully, but these errors were encountered: