zbus-old icon indicating copy to clipboard operation
zbus-old copied to clipboard

Inefficient array decoding

Open zeenix opened this issue 5 years ago • 1 comments
trafficstars

The current Decode::decode implementations decodes all the elements upfront, which is very inefficient. It's not a problem in most cases in the context of D-Bus but GVariant was designed to avoid exactly this kind of inefficiency since it's also meant to contain large sets of data.

We probably want an additional API that can deserialize only specific range from an encoded array. It's OK if we can only make it work for GVariant format.

zeenix avatar Dec 31 '19 11:12 zeenix

unassigned @zeenix

zeenix avatar Oct 09 '22 22:10 zeenix