Would it be useful to prefilter per cards? #32
Labels
enhancement
New feature or request
performance
question
Further information is requested
wontfix
This will not be worked on
Hi!
Let's look at the main example from the readme.
Let's say that as a dev, we would like to know if a given card is a Visa. The current code would be a good enough way. To work
Identify()
has to walk every card until the find a matching one.Basically here is how Cardidy currently works:
We could improve that by passing a prefiltered list to
Indentify()
.and inside we would do:
Yay or nay? Since there is not a lot of card I am not sure that we gain much by doing that.
The text was updated successfully, but these errors were encountered: