elm-phone-numbers icon indicating copy to clipboard operation
elm-phone-numbers copied to clipboard

Improve performance

Open robinheghan opened this issue 5 years ago • 2 comments

There have currently been no attempts at making this library fast. There's a bunch of low-hanging fruit to pick here.

robinheghan avatar Mar 03 '19 13:03 robinheghan

Can you list them specifically?

nikolaipaul avatar Jul 14 '19 18:07 nikolaipaul

It's been a while since I looked at this, but currently the phone number you wish to validate is run through a regex check of every country you have in your countries list. I'm pretty certain there are improvements to be done there.

robinheghan avatar Jul 15 '19 05:07 robinheghan