René's URL Explorer Experiment


Title: Optimize double-width safe_substr when all double-width. by gitlost · Pull Request #114 · wp-cli/php-cli-tools · GitHub

Open Graph Title: Optimize double-width safe_substr when all double-width. by gitlost · Pull Request #114 · wp-cli/php-cli-tools

X Title: Optimize double-width safe_substr when all double-width. by gitlost · Pull Request #114 · wp-cli/php-cli-tools

Description: A collection of tools to help with PHP command line utilities - Optimize double-width safe_substr when all double-width. by gitlost · Pull Request #114 · wp-cli/php-cli-tools

Open Graph Description: Related #111 Looking at the @miya0001's test table at #111 (review) it struck me that most of the time a column with double-width chars will have a number of entries with double-width content o...

X Description: Related #111 Looking at the @miya0001's test table at #111 (review) it struck me that most of the time a column with double-width chars will have a number of entries with double-width conte...

Opengraph URL: https://github.com/wp-cli/php-cli-tools/pull/114

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:9533eccf-8323-4779-0f93-6dafc591b897
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9BE2:2A093F:53C4F1A:6DF28E1:6AFA0FB6
html-safe-noncefa818ff37cfe8b3c38674b520907191228388ad805a04dd1fae1a82517e216a3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QkUyOjJBMDkzRjo1M0M0RjFBOjZERjI4RTE6NkFGQTBGQjYiLCJ2aXNpdG9yX2lkIjoiNzk5MjQ5MjAyMDAxMjI4OTk3NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac3c2cec16ada038a8039861b997844cf91ac86f7fcdafcf3d574970668c069c9c
hovercard-subject-tagpull_request:133076698
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/wp-cli/php-cli-tools/114/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/064ab8ae8ad04bffcc5ae92966d39e4c61265f0bed4583d5bf5c2752bbfc3717/wp-cli/php-cli-tools/pull/114
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/064ab8ae8ad04bffcc5ae92966d39e4c61265f0bed4583d5bf5c2752bbfc3717/wp-cli/php-cli-tools/pull/114
og:image:altRelated #111 Looking at the @miya0001's test table at #111 (review) it struck me that most of the time a column with double-width chars will have a number of entries with double-width content o...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamegitlost
hostnamegithub.com
expected-hostnamegithub.com
None612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7
turbo-cache-controlno-cache
go-importgithub.com/wp-cli/php-cli-tools git https://github.com/wp-cli/php-cli-tools.git
octolytics-dimension-user_id1570774
octolytics-dimension-user_loginwp-cli
octolytics-dimension-repository_id587642
octolytics-dimension-repository_nwowp-cli/php-cli-tools
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id587642
octolytics-dimension-repository_network_root_nwowp-cli/php-cli-tools
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release072e34035c13c31543fba9f025cbbbda4210dae4
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/wp-cli/php-cli-tools/pull/114#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Fphp-cli-tools%2Fpull%2F114
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Fphp-cli-tools%2Fpull%2F114
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=wp-cli%2Fphp-cli-tools
Reloadhttps://github.com/wp-cli/php-cli-tools/pull/114
Reloadhttps://github.com/wp-cli/php-cli-tools/pull/114
Reloadhttps://github.com/wp-cli/php-cli-tools/pull/114
wp-clihttps://github.com/wp-cli
php-cli-toolshttps://github.com/wp-cli/php-cli-tools
Codehttps://github.com/wp-cli/php-cli-tools
Issueshttps://github.com/wp-cli/php-cli-tools/issues
Pull requestshttps://github.com/wp-cli/php-cli-tools/pulls
Actionshttps://github.com/wp-cli/php-cli-tools/actions
Security and qualityhttps://github.com/wp-cli/php-cli-tools/security
Insightshttps://github.com/wp-cli/php-cli-tools/pulse
https://github.com/wp-cli/php-cli-tools
schlesserahttps://github.com/schlessera
masterhttps://github.com/wp-cli/php-cli-tools/tree/master
double_width_optimizehttps://github.com/wp-cli/php-cli-tools/tree/double_width_optimize
Conversationhttps://github.com/wp-cli/php-cli-tools/pull/114
Commits8 (8)https://github.com/wp-cli/php-cli-tools/pull/114/commits
Checkshttps://github.com/wp-cli/php-cli-tools/pull/114/checks
Files changedhttps://github.com/wp-cli/php-cli-tools/pull/114/files
Optimize double-width safe_substr when all double-width.https://github.com/wp-cli/php-cli-tools/pull/114#top
schlesserahttps://github.com/schlessera
masterhttps://github.com/wp-cli/php-cli-tools/tree/master
double_width_optimizehttps://github.com/wp-cli/php-cli-tools/tree/double_width_optimize
https://github.com/gitlost
gitlosthttps://github.com/gitlost
Jul 29, 2017https://github.com/wp-cli/php-cli-tools/pull/114#issue-246493106
Please reload this pagehttps://github.com/wp-cli/php-cli-tools/pull/114
#111https://github.com/wp-cli/php-cli-tools/pull/111
@miya0001https://github.com/miya0001
#111 (review)https://github.com/wp-cli/php-cli-tools/pull/111#pullrequestreview-52207165
@miya0001https://github.com/miya0001
Please reload this pagehttps://github.com/wp-cli/php-cli-tools/pull/114
gitlosthttps://github.com/gitlost
July 29, 2017 03:15https://github.com/wp-cli/php-cli-tools/pull/114#commits-pushed-4cc65fd
https://github.com/gitlost
Optimize double-width safe_substr when all double-width.https://github.com/wp-cli/php-cli-tools/pull/114/commits/4cc65fdb478f2dd39ff49e8e963d82e4d7a11109
4cc65fdhttps://github.com/wp-cli/php-cli-tools/pull/114/commits/4cc65fdb478f2dd39ff49e8e963d82e4d7a11109
https://github.com/gitlost
Need dummy matches arg for preg_match_all() PHP 5.3 (arghh).https://github.com/wp-cli/php-cli-tools/pull/114/commits/e8ac443bba2c9178b069779b7077a101270524cd
e8ac443https://github.com/wp-cli/php-cli-tools/pull/114/commits/e8ac443bba2c9178b069779b7077a101270524cd
https://github.com/gitlost
Er, put it in the right place (arghh).https://github.com/wp-cli/php-cli-tools/pull/114/commits/cacbdf43a0cab92f634c62ed86579f2c43ab65e4
cacbdf4https://github.com/wp-cli/php-cli-tools/pull/114/commits/cacbdf43a0cab92f634c62ed86579f2c43ab65e4
https://github.com/miya0001
miya0001https://github.com/miya0001
Jul 29, 2017https://github.com/wp-cli/php-cli-tools/pull/114#issuecomment-318805478
Please reload this pagehttps://github.com/wp-cli/php-cli-tools/pull/114
@gitlosthttps://github.com/gitlost
#111https://github.com/wp-cli/php-cli-tools/pull/111
https://www.evernote.com/l/ABW2q3EZHXVLw46aqapMXaQJpH8IcymzIZMB/image.pnghttps://www.evernote.com/l/ABW2q3EZHXVLw46aqapMXaQJpH8IcymzIZMB/image.png
https://camo.githubusercontent.com/ccfd15b54559565e2c37bd1a4189e15764d2f62ed86b8e16d5dd610417774ca1/68747470733a2f2f7777772e657665726e6f74652e636f6d2f6c2f414257775039617942526c43423635566875564f6d5338587356425678664c33763949422f696d6167652e706e67
Please reload this pagehttps://github.com/wp-cli/php-cli-tools/pull/114
https://github.com/miya0001
miya0001https://github.com/miya0001
Jul 29, 2017https://github.com/wp-cli/php-cli-tools/pull/114#issuecomment-318806734
Please reload this pagehttps://github.com/wp-cli/php-cli-tools/pull/114
https://github.com/miya0001/php-cli-tools/blob/add-sample-solution-to-solve-incorrect-witdh/tests/test-mb.phphttps://github.com/miya0001/php-cli-tools/blob/add-sample-solution-to-solve-incorrect-witdh/tests/test-mb.php
Splitting the string with each char.https://github.com/miya0001/php-cli-tools/blob/add-sample-solution-to-solve-incorrect-witdh/tests/test-mb.php#L28-L33
Splitting the string with $width that is used for table line.https://github.com/miya0001/php-cli-tools/blob/add-sample-solution-to-solve-incorrect-witdh/tests/test-mb.php#L36-L49
Substitute of the str_pad to solve multibyte problem.https://github.com/miya0001/php-cli-tools/blob/add-sample-solution-to-solve-incorrect-witdh/tests/test-mb.php#L60-L66
https://github.com/miya0001/php-cli-tools/blob/add-sample-solution-to-solve-incorrect-witdh/tests/test-mb.php#L5-L23https://github.com/miya0001/php-cli-tools/blob/add-sample-solution-to-solve-incorrect-witdh/tests/test-mb.php#L5-L23
Please reload this pagehttps://github.com/wp-cli/php-cli-tools/pull/114
https://github.com/gitlost
gitlosthttps://github.com/gitlost
Jul 29, 2017https://github.com/wp-cli/php-cli-tools/pull/114#issuecomment-318815639
Please reload this pagehttps://github.com/wp-cli/php-cli-tools/pull/114
https://github.com/gitlost
Round down instead of up in safe_strlen().https://github.com/wp-cli/php-cli-tools/pull/114/commits/7667f5e367af9fadba8e8e314aa7048020ef363b
7667f5ehttps://github.com/wp-cli/php-cli-tools/pull/114/commits/7667f5e367af9fadba8e8e314aa7048020ef363b
https://github.com/miya0001
miya0001https://github.com/miya0001
Jul 29, 2017https://github.com/wp-cli/php-cli-tools/pull/114#issuecomment-318817647
Please reload this pagehttps://github.com/wp-cli/php-cli-tools/pull/114
miya0001https://github.com/miya0001
July 29, 2017 19:25https://github.com/wp-cli/php-cli-tools/pull/114#commits-pushed-168e5bc
https://github.com/miya0001
add single-witdh char to testhttps://github.com/wp-cli/php-cli-tools/pull/114/commits/168e5bc957460cc17b7cd99594adae8f0e920fe4
168e5bchttps://github.com/wp-cli/php-cli-tools/pull/114/commits/168e5bc957460cc17b7cd99594adae8f0e920fe4
https://github.com/miya0001
remove print_r().https://github.com/wp-cli/php-cli-tools/pull/114/commits/0685ba2de52728ad7d51b9e01897541dad592e48
0685ba2https://github.com/wp-cli/php-cli-tools/pull/114/commits/0685ba2de52728ad7d51b9e01897541dad592e48
https://github.com/miya0001
add single-width char to second linehttps://github.com/wp-cli/php-cli-tools/pull/114/commits/18b8e3d71fc58b7877a3993c3cda5b2b2ab85d74
18b8e3dhttps://github.com/wp-cli/php-cli-tools/pull/114/commits/18b8e3d71fc58b7877a3993c3cda5b2b2ab85d74
https://github.com/miya0001
miya0001https://github.com/miya0001
Jul 29, 2017 https://github.com/wp-cli/php-cli-tools/pull/114#ref-pullrequest-246513755
Add single-width char to test #115 https://github.com/wp-cli/php-cli-tools/pull/115
https://github.com/gitlost
Merge pull requesthttps://github.com/wp-cli/php-cli-tools/pull/114/commits/2c0896b1cc356709784170c4eb6414dea3b74249
#115https://github.com/wp-cli/php-cli-tools/pull/115
from miya0001/double_width_optimizehttps://github.com/wp-cli/php-cli-tools/pull/114/commits/2c0896b1cc356709784170c4eb6414dea3b74249
2c0896bhttps://github.com/wp-cli/php-cli-tools/pull/114/commits/2c0896b1cc356709784170c4eb6414dea3b74249
https://github.com/gitlost
gitlosthttps://github.com/gitlost
Jul 29, 2017https://github.com/wp-cli/php-cli-tools/pull/114#issuecomment-318820309
@miya0001https://github.com/miya0001
Please reload this pagehttps://github.com/wp-cli/php-cli-tools/pull/114
https://github.com/miya0001
miya0001https://github.com/miya0001
Jul 29, 2017https://github.com/wp-cli/php-cli-tools/pull/114#issuecomment-318830138
@gitlosthttps://github.com/gitlost
Please reload this pagehttps://github.com/wp-cli/php-cli-tools/pull/114
https://github.com/schlessera
schlesserahttps://github.com/schlessera
Aug 1, 2017 https://github.com/wp-cli/php-cli-tools/pull/114#pullrequestreview-53537203
View reviewed changes https://github.com/wp-cli/php-cli-tools/pull/114/files/2c0896b1cc356709784170c4eb6414dea3b74249
https://github.com/schlessera
schlesserahttps://github.com/schlessera
enhancement https://github.com/wp-cli/php-cli-tools/issues?q=state%3Aopen%20label%3Aenhancement
scope:table https://github.com/wp-cli/php-cli-tools/issues?q=state%3Aopen%20label%3Ascope%3Atable
Aug 1, 2017https://github.com/wp-cli/php-cli-tools/pull/114#event-1187866443
https://github.com/schlessera
schlesserahttps://github.com/schlessera
0.11.6https://github.com/wp-cli/php-cli-tools/milestone/14
Aug 1, 2017https://github.com/wp-cli/php-cli-tools/pull/114#event-1187866687
https://github.com/schlessera
schlesserahttps://github.com/schlessera
37cf6e1https://github.com/wp-cli/php-cli-tools/commit/37cf6e16259084084e7201bf33e7f25cd32750d0
Aug 1, 2017https://github.com/wp-cli/php-cli-tools/pull/114#event-1187866967
https://github.com/schlessera
schlesserahttps://github.com/schlessera
August 1, 2017 15:24https://github.com/wp-cli/php-cli-tools/pull/114#event-1187867142
https://github.co/hiddenchars
https://github.com/wp-cli/php-cli-tools/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Fphp-cli-tools%2Fpull%2F114
https://github.com/schlessera
schlessera https://github.com/schlessera
https://github.com/wp-cli/php-cli-tools/pull/114/files/2c0896b1cc356709784170c4eb6414dea3b74249
Please reload this pagehttps://github.com/wp-cli/php-cli-tools/pull/114
enhancement https://github.com/wp-cli/php-cli-tools/issues?q=state%3Aopen%20label%3Aenhancement
scope:table https://github.com/wp-cli/php-cli-tools/issues?q=state%3Aopen%20label%3Ascope%3Atable
0.11.6 https://github.com/wp-cli/php-cli-tools/milestone/14
Please reload this pagehttps://github.com/wp-cli/php-cli-tools/pull/114
https://github.com/gitlost
https://github.com/miya0001
https://github.com/schlessera
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.