libplanet icon indicating copy to clipboard operation
libplanet copied to clipboard

Add compression to `DataModel`

Open greymistcube opened this issue 3 years ago • 1 comments

If human readability of encoded data structure isn't much of a concern, it is possible to encode a DataModel instance to a Bencodex.Types.List instead of Bencodex.Types.Dictionary. With some consideration, it might even be possible to expand on DataModel as implemented in #1935. One way to achieve this would be to order property names by their ordinals before encoding and decoding.

greymistcube avatar May 09 '22 12:05 greymistcube

This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.

stale[bot] avatar Jul 31 '22 01:07 stale[bot]