Skip to content

Conversation

welder87
Copy link

Reason:

In the latest version function slug create regexp for every call and has an overhead for checking valid value.

Changes:

  • Add compile regexp.
  • Simplify check for valid value.
  • Extend test cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant