Ehn slugify faster

1.5 times faster by importing package outside the function