May-23-2022, 10:02 PM
(This post was last modified: May-23-2022, 10:02 PM by Clunk_Head.)
(May-23-2022, 09:45 PM)Gribouillis Wrote: regular expressions
I understand that python has a fast regex engine. I haven't timed it since python 2 though, but then I found regex to be slower than replace() by at least a factor of 10. I never timed it against count or find.
Sounds like it's worth investigating it again, as I could probably consolidate it using regex.
I will also look into using translate.
Good advice, thank you.