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: Python Data Validation for Humans™. Contribute to python-validators/validators development by creating an account on GitHub.
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 | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:dee7d643-4ece-9470-6982-27bd96215762 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 84E6:361E70:7143AD:9AD383:698E239B |
| html-safe-nonce | fdc40a21c4abbb80180714b3460dda3b946d8fb7a0e20f825f82eab757e7ca54 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NEU2OjM2MUU3MDo3MTQzQUQ6OUFEMzgzOjY5OEUyMzlCIiwidmlzaXRvcl9pZCI6IjQ5OTAwMzQ4OTA1MDgzNDYyNjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3471f3d8727d9ec4aad65fd9668eeb9fb38759ba917a1110ad0376b93aa9a9fc |
| 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/python-validators/validators/pull/439/commits |
| 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 | 7d71262819a4a68a7786924c05495bfd40a7561e4258dd129ba36f53d667639a |
| turbo-cache-control | no-cache |
| 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 | 1d904ac995eb43f93014fbdbcc9ae5878653c932 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width