Day 2: Gift Shop

Megathread guidelines

  • Keep top level comments as only solutions, if you want to say something other than a solution put it in a new post. (replies to comments can be whatever)
  • You can send code in code blocks by using three backticks, the code, and then three backticks or use something such as https://topaz.github.io/paste/ if you prefer sending it through a URL

FAQ

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [S] 3 points 11 months ago*

I like your regexes a lot better than mine. I wonder if there is a perf difference between them. I'll have to try.

Edit: Yours are faster, 3.5s vs 3.9s

  • source
  • parent