This works somewhat analogously to bt_dict_consumer by allowing you to construct a b-encoded dict or list without needing to to put things in the more general (but also allocation-heavy) bt_value types first.
This should allow for b-encoding with better performance and less memory fragmentation, especially in bits of code called frequently.
This works somewhat analogously to bt_dict_consumer by allowing you to construct a b-encoded dict or list without needing to to put things in the more general (but also allocation-heavy) bt_value types first.
This should allow for b-encoding with better performance and less memory fragmentation, especially in bits of code called frequently.