StarlingMonkey icon indicating copy to clipboard operation
StarlingMonkey copied to clipboard

Support Wizer-time precompiled regular expressions

Open guybedford opened this issue 1 year ago • 0 comments

There are a few stories here, but this one is a very simple one - inline Fastly's current code modification approach to precompiling regular expressions into something that runs at Wizer time.

That is, moving what we do in https://github.com/fastly/js-compute-runtime/blob/main/src/precompile.js into something that is in StarlingMonkey as part of its initialization.

The better Wasm emission story for regex compilation would be ideal of course, but let's track that in a separate issue.

guybedford avatar Oct 22 '24 23:10 guybedford