My first suspicion was that Github was allocating more CPU to 3.14, or something…
But then I tested it on my own machine, and it’s real.
My code runs ~3.5x faster on Python 3.14
I’m just guessing but for the Python interpreter, for things that are done more often (like split or join, again I’m just guessing) they can insert assembly routines for that which run fast.
Regex tends to slow things down so maybe they sped it up somewhat.