Closed Janiczek closed 1 year ago
TL;DR: put regexFromString invocations in the String.Extra module to top-level, making them only evaluated once instead of on every function invocation.
regexFromString
For bonus points, optimize the regexFromString function itself (use lambda instead of >>)
>>
From Slack:
I can't promise much but I'll try to get around to actually implementing this change.
TL;DR: put
regexFromString
invocations in the String.Extra module to top-level, making them only evaluated once instead of on every function invocation.For bonus points, optimize the
regexFromString
function itself (use lambda instead of>>
)From Slack:
I can't promise much but I'll try to get around to actually implementing this change.