Skip to content

Commit 4dae8ca

Browse files
mscdexrvagg
authored andcommitted
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 PR-URL: #5123 Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent a8f4db2 commit 4dae8ca

File tree

2 files changed

+1466
-479
lines changed

2 files changed

+1466
-479
lines changed

0 commit comments

Comments
 (0)