set vs unordered_set for fastest iteration

前端 未结 5 1535
无人及你
无人及你 2021-02-13 02:18

In my application I have the following requirements -

  1. The data structure will be populated just once with some values (not key/value pairs). The values may be r

5条回答
  •  抹茶落季
    2021-02-13 02:54

    I'd suggest you to use either set or unordered_set for "filtration" and when you are done, move data to vector of fixed size

提交回复
热议问题