New issue
Advanced search Search tips

Issue 613187 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner:
Closed: Jul 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

Investigate whether list is really better than vector to dedupe cards.

Project Member Reported by se...@chromium.org, May 19 2016

Issue description

All 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. 
 

Comment 1 by se...@chromium.org, Jul 26 2017

Status: WontFix (was: Assigned)
It is a good choice with the constraints we have (very low number of cards)

Sign in to add a comment