dominicm00 / ham

A meaty Jam build tool replacement

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cache regex compilations

dominicm00 opened this issue · comments

Some Ham constructs (e.g. switch) compile regex statements when evaluated. Currently, when put in a loop, these constructs continuously recompile the same regex. All code constructs that compile a regex object should cache it locally.