Closed ArsenyYankovsky closed 6 months ago
Used ES6 Sets to make checks for disposable/free email domains faster (O(1) vs O(n)). It is a couple of thousand times faster in our test of validating 50.000 email addresses.
O(1)
O(n)
Thank you @ArsenyYankovsky
merged in 4716bf38a22e172de0d8fee01f987ba3812f4014
Used ES6 Sets to make checks for disposable/free email domains faster (
O(1)
vsO(n)
). It is a couple of thousand times faster in our test of validating 50.000 email addresses.