mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Add a TODO on packing stored state
This commit is contained in:
@@ -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>>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user