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: patch-diff.githubusercontent.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:c321daf7-eb65-320f-ef91-cc6917568d31 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D4A2:92505:C66AFA:110B2F3:698F042B |
| html-safe-nonce | 5acec8f43c860077f3e573be49df8aaa180ccf12d8f58fdcf8df7adcc3f7cf6a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENEEyOjkyNTA1OkM2NkFGQToxMTBCMkYzOjY5OEYwNDJCIiwidmlzaXRvcl9pZCI6IjQ3MzA0NTAxNzIzOTk1MTg3NjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5875e1d2c136dbf669215d6df69877b35eb4a03d983e11ae3b26372b8d20a3ef |
| 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 | 2da1a0d1318592c9965539b12269c4641177dfabfc86c3807992efb13e1d96ff |
| 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 | 66d26b1a7f81bd3ffe8d0f16abab43f6e64fd21a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width