a462221ca6
- Replace 6 regex operations in Url.removeDotSegments() with simple string operations (startsWith/indexOf) using a when-expression - Remove regex-based dropLastSegment() in favor of StringBuilder with lastIndexOf - Extract duplicated hex/octal/decimal parsing in DomainNameReader into shared parseNumericLiteral() helper - Deduplicate scheme matching by unifying findValidScheme* methods into findSchemeSuffix() using regionMatches (avoids lowercase allocation) - Extract readPath() validity check into isPathValid() to remove duplicated 5-line condition - Extract trySchemeNoSlashesOrUserPass() from readScheme() to eliminate duplicated branch logic - Restructure readCurrent() with when-expression and extract resetDomainCounters() helper https://claude.ai/code/session_017oGieyaUiLCxehNJ5aMFDK