Comment

upp

Not really, that's unfair because you recreate translate_table everytime you call 2.

Parent comment

Anonymous

To be fair, the `translate_table` creation should be inside the `_slugify2` function, which is the only one that uses it. In addition, maybe you should use `timeit` to run them more than once.