zoekt icon indicating copy to clipboard operation
zoekt copied to clipboard

spike: change regex engine

Open stefanhengl opened this issue 2 years ago • 1 comments

Regex dominates our CPU profiles for webserver. The top 10% profiles are almost exclusively regex. Changing from Go's engine to something faster would have big impact on the critical path.

Inspiration: https://github.com/BurntSushi/rure-go

stefanhengl avatar Apr 06 '22 08:04 stefanhengl

Here are notes I took from when we last looked into rure-go (2020-10-21)

This has deployment / devenv issues since rure is written in rust. Requires compiling rust. Maybe there is a nice way to distribute static objects to link against in cgo.

keegancsmith avatar Apr 06 '22 09:04 keegancsmith