pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/python-validators/validators/pull/439

0bd78641c0a1f3e0.css" /> feat: Optimize slug. Extend tests. by welder87 · Pull Request #439 · python-validators/validators · GitHub
Skip to content

feat: Optimize slug. Extend tests.#439

Open
welder87 wants to merge 1 commit intopython-validators:masterfrom
welder87:feature/optimize-slug
Open

feat: Optimize slug. Extend tests.#439
welder87 wants to merge 1 commit intopython-validators:masterfrom
welder87:feature/optimize-slug

Conversation

@welder87
Copy link
Copy Markdown

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.

@nandgator nandgator self-requested a review February 18, 2026 01:58
@nandgator
Copy link
Copy Markdown
Collaborator

Not sure why pipeline's not running.

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.

2 participants

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy