As far as I know such simple string manipulations are actually pretty fast in python. So don't expect an amazing speed improvement over python if your code is this simple.
In more "real world" examples you'll see Nim outperforming Python.
As far as I know such simple string manipulations are actually pretty fast in python. So don't expect an amazing speed improvement over python if your code is this simple.
In more "real world" examples you'll see Nim outperforming Python.