Skip to content

Commit ff9c478

Browse files
src: refactor EndsInANumber in node_url.cc and adds IsIPv4NumberValid
Removes the use of vector in EndsInANumber and uses IsIPv4NumberValid instead of parsing the number to check if it is valid. Fixes: nodejs/performance#36 Refs: ada-url/ada#36
1 parent 21fb98e commit ff9c478

File tree

1 file changed

+271
-304
lines changed

1 file changed

+271
-304
lines changed

0 commit comments

Comments
 (0)