Investigate whether list is really better than vector to dedupe cards. |
|
Issue descriptionAll the methods to get credit cards return vectors. However, a list is used to dedupe since it's more efficient to erase in a list than a vector. However, since we need to copy the vector into the list to dedupe, then copy it back to a vector, it would be good to investigate whether just keeping a vector might be more efficient in practice. We usually store a very limited number of cards. |
|
►
Sign in to add a comment |
|
Comment 1 by se...@chromium.org
, Jul 26 2017