DescriptionFeatureProvider returns std::map instead of vector
To reduce binding time as much as possible, use std::map(O(1)) instead of std::vector(O(n)).
Also, use 'const_iterator' to fix improper usage of 'auto'.
BUG=592537
TEST=Every tests are green.
Committed: https://crrev.com/8477b57a78fa0faf4b0e65c3aaf6cd6f205fee28
Cr-Commit-Position: refs/heads/master@{#379711}
Patch Set 1 : #Patch Set 2 : use const_iterator instead of auto #
Total comments: 2
Patch Set 3 : review #
Messages
Total messages: 20 (12 generated)
|