Skip to content

Commit

Permalink
src: refactor EndsInANumber in node_url.cc and adds IsIPv4NumberValid
Browse files Browse the repository at this point in the history
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
  • Loading branch information
miguelteixeiraa committed Jan 16, 2023
1 parent 21fb98e commit ff9c478
Showing 1 changed file with 271 additions and 304 deletions.
Loading

0 comments on commit ff9c478

Please sign in to comment.