Online / 5 & 6 February 2022

visit

Fun with Finite Automata

Optimising the Go regexp package


The Go regexp package is an extremely competent piece of engineering, with attractive features such as being guaranteed to run in time linear in the size of the input. However, it can be made to go faster.

This talk will describe:

  • how Go regexp works
  • four changes that improve regexp performance
  • the basic profiling techniques used to identify these optimisations
  • further opportunities for optimisation, including via Generics.

Speakers

Photo of Bryan Boreham Bryan Boreham

Links