Vec could be mapping
What it does
Warns about the usage of the .find()
method in vector of tuples of the storage. This can be replaced by a Mapping
Why is this bad?
Iterating over a vector is more expensive if you are trying to find something in a vector than if you are using a Mapping
.
More info
Implementation
The detector's implementation can be found at this link.