I rarely use std::vectorwith linear search (except in combination with binary search, as described below). I believe that for a small amount of data it would be better, but with such small data it is unlikely that something will create a huge advantage.
std::vector . A std::map , . , , (.. , ).
, , , (, std::lower_bound, std::equal_range). - (.. , a std::map). , , , - , - , , , , ( ) .