subsocial-solochain
subsocial-solochain copied to clipboard
[not sure] Use .binary_search when inserting and removing to/from a vec storage item
This is a performance optimization task.
Examples:
- Insert: https://github.com/paritytech/substrate/blob/master/frame/proxy/src/lib.rs#L197
- Remove: https://github.com/paritytech/substrate/blob/master/frame/proxy/src/lib.rs#L233