Add a TODO on packing stored state
This commit is contained in:
parent
f0ea9e9451
commit
29a0f83163
|
@ -38,5 +38,8 @@ pub(crate) struct State {
|
|||
/// Arbitrary fields that should be persisted together with the plugin's parameters. Any field
|
||||
/// on the [Params] struct that's annotated with `#[persist = "stable_name"]` will be persisted
|
||||
/// this way.
|
||||
///
|
||||
/// TODO: Serialize this as base64 or some other more densely packed representation. Currently
|
||||
/// every bute takes up 2-4 ASCII characters
|
||||
pub fields: HashMap<String, Vec<u8>>,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue