perf: Don't parse for userinfo if not necessary

If the URI doesn't contain @ then there can't be a userinfo so
completely ignore this part of parsing to improve performance
This commit is contained in:
2025-09-14 22:14:49 +01:00
parent 67798d1dcf
commit 869c5cf06c
2 changed files with 43 additions and 48 deletions

View File

@@ -10,5 +10,5 @@
## v2.0.1
- Improved parsing performance slightly and reduced memory usage up to 50%
- Improved parsing performance significantly and reduced memory usage up to 50%
- Significantly improved IPV4 parsing performance