Title: feat: Optimize slug. Extend tests. by welder87 · Pull Request #439 · python-validators/validators · GitHub
Open Graph Title: feat: Optimize slug. Extend tests. by welder87 · Pull Request #439 · python-validators/validators
X Title: feat: Optimize slug. Extend tests. by welder87 · Pull Request #439 · python-validators/validators
Description: 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.
Open Graph Description: 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.
X Description: 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.
Opengraph URL: https://github.com/python-validators/validators/pull/439
X: @github
Domain: github.com
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:241e9da4-5257-6601-72dd-4c50af9598cf |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CD8A:68665:426E9:56F5D:698DF014 |
| html-safe-nonce | 01a574b3e11486f6dc9a0f0ba54db4e1d03706d571c8b0ede51069ca0818ae03 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRDhBOjY4NjY1OjQyNkU5OjU2RjVEOjY5OERGMDE0IiwidmlzaXRvcl9pZCI6Ijc1Njc0ODcyOTc4OTkwNjUzNjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1c011450650f50e80de9602d00842be0fdde90c4dfd88bc33f76515793bc3aa6 |
| hovercard-subject-tag | pull_request:2908250339 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python-validators/validators/439/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/927315d2dee888cd321f7c9fbd23d59b8c8912df85df07616c8aa919d22deb7e/python-validators/validators/pull/439 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/927315d2dee888cd321f7c9fbd23d59b8c8912df85df07616c8aa919d22deb7e/python-validators/validators/pull/439 |
| og:image:alt | 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. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | welder87 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 929d0ce8b653d60df0698366d7e9012f9423ea1bace40816e16e5b007242aae4 |
| turbo-cache-control | no-preview |
| go-import | github.com/python-validators/validators git https://github.com/python-validators/validators.git |
| octolytics-dimension-user_id | 113113270 |
| octolytics-dimension-user_login | python-validators |
| octolytics-dimension-repository_id | 13642984 |
| octolytics-dimension-repository_nwo | python-validators/validators |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 13642984 |
| octolytics-dimension-repository_network_root_nwo | python-validators/validators |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 143e58641f5eb460a02eda3a18cc1ef28e8c5188 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width