Closed taiki-e closed 3 years ago
Currently, expand_package_path compiles regular expression per it called. This is not very efficient.
Refs: https://github.com/rust-lang/regex/blob/master/PERFORMANCE.md#thou-shalt-not-compile-regular-expressions-in-a-loop
Currently, expand_package_path compiles regular expression per it called. This is not very efficient.
Refs: https://github.com/rust-lang/regex/blob/master/PERFORMANCE.md#thou-shalt-not-compile-regular-expressions-in-a-loop