libphonenumber-csharp icon indicating copy to clipboard operation
libphonenumber-csharp copied to clipboard

huge init time optimization: protobuf & codegen insted of xml

Open greshnoff opened this issue 11 years ago • 2 comments

greshnoff avatar Jul 15 '14 08:07 greshnoff

Have you checked this with a Windows Phone? Does it generate code that can be loaded into a phone? This was the original reason I forked the lib.

erezak avatar Jul 19 '14 04:07 erezak

I have not tested this on windows phone yet. I am running it on Android only right now. I'm using only: PhoneNumberUtil.Normalize(phoneNumber); _phone.Parse(nom, RegionCode.US); _phone.IsValidNumber(ph); _phone.Format(ph, PhoneNumberFormat.E164);

The initialize time on my phone is 3.250 seconds less time. The library is not usable except with these changes.

Ripper555 avatar Sep 22 '17 15:09 Ripper555