Skip to content

Wildcard optimization

FelisCatus edited this page Jun 19, 2012 · 1 revision

Compiling wildcards to JavaScript can be several times faster than using the built-in shExpMatch, which uses RegExp internally.

However, compiled JavaScript is longer and more difficult to read.

Clone this wiki locally