Open yakra opened 4 years ago
Was the reason regexes were so unbearably slow because I was continually creating & destroying regex objects, hundreds of thousands of times over?
What if I were to create const regexes at the beginning of the program, and then refer to those as needed?
Datacheck functions hand-coded for a particular purpose are probably still faster, but nonetheless...
compile-time regular expressions via constexpr
Was the reason regexes were so unbearably slow because I was continually creating & destroying regex objects, hundreds of thousands of times over?
What if I were to create const regexes at the beginning of the program, and then refer to those as needed?
Datacheck functions hand-coded for a particular purpose are probably still faster, but nonetheless...