diff options
author | Ruben Bridgewater <ruben@bridgewater.de> | 2019-04-15 03:59:21 +0200 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2019-04-18 05:32:10 +0200 |
commit | 9946c597077070941309e5b2986a810e52978a97 (patch) | |
tree | d7b629199700257c6eb4016d7392a00b0b038130 /.travis.yml | |
parent | 4f8b497991fb841163b9af8797f4521917348b4d (diff) | |
download | android-node-v8-9946c597077070941309e5b2986a810e52978a97.tar.gz android-node-v8-9946c597077070941309e5b2986a810e52978a97.tar.bz2 android-node-v8-9946c597077070941309e5b2986a810e52978a97.zip |
path: simplify normalizeString
This improves the `path.normalize()` and `path.resolve()` performance a
tiny bit.
One statement could never be truthy, another check could be simplified
and `code` is now monomorphic.
PR-URL: https://github.com/nodejs/node/pull/27240
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions