diff options
author | Evan Lucas <evanlucas@me.com> | 2015-11-16 18:50:14 -0600 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2015-11-16 23:02:36 -0800 |
commit | 4fed62c87616f8d11ba0185ddc9c7ceff688ba96 (patch) | |
tree | d29b1288c509424550ebf84a9bf559543651275c /README.md | |
parent | e3949b2ca1f470cd7e32a9f1564180622ac54efd (diff) | |
download | node-new-4fed62c87616f8d11ba0185ddc9c7ceff688ba96.tar.gz |
module: cache regular expressions
None of these regular expressions will change, so there is no need to
generate them every time in hot code paths.
Provides a small performance improvement in module loading. (5-10%)
PR-URL: https://github.com/nodejs/node/pull/3869
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions