https://kotlinlang.org logo
#advent-of-code
Title
# advent-of-code
b

bjonnh

12/02/2020, 3:02 PM
I try to avoid regexps due to their lower performance
e

ephemient

12/02/2020, 6:45 PM
compared to what? depends on the regex and engine, but they can definitely be faster than code you would reasonably write by hand
backtracking can kill performance, you just have to know how about it
b

bjonnh

12/02/2020, 7:12 PM
mmm next one I'll do with regexp then, just to put them more in my workflow
3 Views