1
0
Fork 0

Add a TODO for merging hashmaps

This commit is contained in:
Robbert van der Helm 2023-01-11 15:21:03 +01:00
parent 59e5f77a34
commit 048cfd73b5

View file

@ -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.