Commit b9bec203 authored by Jo Liss's avatar Jo Liss Committed by Trevor Norris
Browse files

path: improve POSIX path.join() performance



Performance gains are ~4x (~1.5us), but still much slower than a naive
approach. There is some duplicate work done between join(), normalize()
and normalizeArray() so additional optimizations are possible.

Note that this only improves the POSIX implementation.

Thanks to @isaacs and @othiym23 for helping with this optimization.

Signed-off-by: default avatarTrevor Norris <trev.norris@gmail.com>
parent cdde9a38
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment