xgouchet / Elmyr

A utility to make Kotlin/Java tests random yet reproducible
Other
82 stars 2 forks source link

Add Memoization to the RegexParser class #56

Closed xgouchet closed 2 years ago

xgouchet commented 3 years ago

Right now, the RegexParser class will always parse the provided Regex. Adding a map/LRU/LFU of previously known regexes could improve the tests (especially since the same regex might be reused many times).