good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Edit: I thought I had a better version but no. I ran the same benchmark again and the results were not the same at all (actually the three solutions had very similar performances). Something went wrong with my first attempt You can get even better results if you remove the use of captures and backreferences:
Edit: now that's a bad choice of delimiter 😂 I'm actually consistantly getting result that are worse without backreferences which which I don't understand... In reply to Re^2: substrings that consist of repeating characters
by Eily
|
|