Skip to content

Commit 66be01c

Browse files
committed
path: performance improvements on all platforms
This commit significantly improves performance of all path functions. Optimization strategies include: * Replacing regexps with manual parsers * Avoiding unnecessary array creation (including split() + join()) * Returning earlier where possible to avoid unnecessary work * Minimize unnecessary string creation and concatenations * Combining string iterations
1 parent d8556dd commit 66be01c

File tree

1 file changed

+1466
-463
lines changed

1 file changed

+1466
-463
lines changed

0 commit comments

Comments
 (0)