From 048cfd73b57a0a4b4c56513bc9bed5ab8af85531 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm <mail@robbertvanderhelm.nl> Date: Wed, 11 Jan 2023 15:21:03 +0100 Subject: [PATCH] Add a TODO for merging hashmaps --- src/wrapper/clap/wrapper.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wrapper/clap/wrapper.rs b/src/wrapper/clap/wrapper.rs index 7301a40f..fd4874d9 100644 --- a/src/wrapper/clap/wrapper.rs +++ b/src/wrapper/clap/wrapper.rs @@ -210,6 +210,7 @@ pub struct Wrapper<P: ClapPlugin> { // /// The keys from `param_map` in a stable order. param_hashes: Vec<u32>, + // TODO: Merge the three `*_by_hash` hashmaps at some point /// A mapping from parameter ID hashes (obtained from the string parameter IDs) to pointers to /// parameters belonging to the plugin. These addresses will remain stable as long as the /// `params` object does not get deallocated.