Skip to content

Commit

Permalink
path: performance improvements on all platforms
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
mscdex authored and rvagg committed Feb 15, 2016
1 parent a8f4db2 commit 4dae8ca
Show file tree
Hide file tree
Showing 2 changed files with 1,466 additions and 479 deletions.
Loading

0 comments on commit 4dae8ca

Please sign in to comment.