René's URL Explorer Experiment


Title: Idea: New v3 opt-in serialization format to save space · Issue #366 · igbinary/igbinary · GitHub

Open Graph Title: Idea: New v3 opt-in serialization format to save space · Issue #366 · igbinary/igbinary

X Title: Idea: New v3 opt-in serialization format to save space · Issue #366 · igbinary/igbinary

Description: Use version \x00\x00\x00\x03 when this is stable Avoid wasting space emitting key representations when array_is_list, i.e. when array keys are consecutive integers starting from 0 (have a fallback to start emitting unexpected keys with d...

Open Graph Description: Use version \x00\x00\x00\x03 when this is stable Avoid wasting space emitting key representations when array_is_list, i.e. when array keys are consecutive integers starting from 0 (have a fallback ...

X Description: Use version \x00\x00\x00\x03 when this is stable Avoid wasting space emitting key representations when array_is_list, i.e. when array keys are consecutive integers starting from 0 (have a fallback ...

Opengraph URL: https://github.com/igbinary/igbinary/issues/366

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Idea: New v3 opt-in serialization format to save space","articleBody":"- Use version \\x00\\x00\\x00\\x03 when this is stable\r\n- Avoid wasting space emitting key representations when `array_is_list`, i.e. when array keys are consecutive integers starting from 0 (have a fallback to start emitting unexpected keys with different values, if needed)\r\n- Allow more than one reference group to the same php value to be distinctly unserialized (e.g. `$x = new stdClass; $y = $x; igbinary_serialize([\u0026$x, \u0026$x, \u0026$y, \u0026$y]);`)\r\n  (TODO: I forget the exact issue. Was that fixed already for the general case, or was the issue mixes of references and non-references)\r\n- Shorter representations for 1-character interned strings\r\n- Shorter representations for private properties of serialized class `\\x00$classname\\x00$propname` (and protected properties `\\x00*\\x00$propname`) (keys for parent classes and traits would be serialized normally)\r\n- Don't bother creating string ids for empty strings (EDIT: that's already part of the v2 design?) and 1-character strings that would already be interned in modern php versions (support reusing per-request in RINIT in igbinary itself if practical for php versions without ZSTR_CHAR guaranteed to exist)\r\n\r\nOpt-in can be done on per-serializer settings, to allow any migrations (e.g. redis, memcached) to be done separately.\r\n\r\nThe unserializer should recognize v3 from the header\r\n\r\n\r\n\r\nRelated to https://github.com/phpredis/phpredis/issues/2194\r\n\r\nUpdates (October 19):\r\n\r\nImplementation is broken/incomplete and the v3 serialization format will be changed, found on the fork branch `igbinary-v3-format`\r\n\r\n- Shorter representations for very small non-negative integers (e.g. 0..7 can be X+(0..7)) is an idea I've seen in several other binary protocol formats, useful for `['key' =\u003e 1, 'x' =\u003e 0]` where integers are used instead of booleans, or just from most integers being small (e.g. counts) when averaged out over common use cases\r\n- Still haven't implemented for serializing lists\r\n- Still haven't finished adding a way to represent creating a new reference group to the same php object for the general case\r\n- Haven't benchmarked this yet\r\n","author":{"url":"https://github.com/TysonAndre","@type":"Person","name":"TysonAndre"},"datePublished":"2022-10-18T05:25:06.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/366/igbinary/issues/366"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:5de162be-0c67-38bc-6add-92c9585f31a7
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC2C2:14919D:61F7535:7F556B4:697E1A59
html-safe-nonce7ef766f713ed6df3ab7f88136363357cb10e3f383b26fe8c79183a26a4f14daa
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMkMyOjE0OTE5RDo2MUY3NTM1OjdGNTU2QjQ6Njk3RTFBNTkiLCJ2aXNpdG9yX2lkIjoiNDE4MDMxNTA0ODQ3MzY2NDA4OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac2d41699642712f9a766581f3efae8f00f27bf71aa5f2a032ca94d7c162a0ee9c
hovercard-subject-tagissue:1412592536
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/igbinary/igbinary/366/issue_layout
twitter:imagehttps://opengraph.githubassets.com/1ab44590e68bfabefc9af37e545b34da8959098d9d36e6efd95c91e833341097/igbinary/igbinary/issues/366
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1ab44590e68bfabefc9af37e545b34da8959098d9d36e6efd95c91e833341097/igbinary/igbinary/issues/366
og:image:altUse version \x00\x00\x00\x03 when this is stable Avoid wasting space emitting key representations when array_is_list, i.e. when array keys are consecutive integers starting from 0 (have a fallback ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameTysonAndre
hostnamegithub.com
expected-hostnamegithub.com
None60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6
turbo-cache-controlno-preview
go-importgithub.com/igbinary/igbinary git https://github.com/igbinary/igbinary.git
octolytics-dimension-user_id555243
octolytics-dimension-user_loginigbinary
octolytics-dimension-repository_id1237364
octolytics-dimension-repository_nwoigbinary/igbinary
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id155943
octolytics-dimension-repository_parent_nwophadej/igbinary
octolytics-dimension-repository_network_root_id155943
octolytics-dimension-repository_network_root_nwophadej/igbinary
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
release7c85641c598ad130c74f7bcc27f58575cac69551
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/igbinary/igbinary/issues/366#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Figbinary%2Figbinary%2Fissues%2F366
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Figbinary%2Figbinary%2Fissues%2F366
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=igbinary%2Figbinary
Reloadhttps://patch-diff.githubusercontent.com/igbinary/igbinary/issues/366
Reloadhttps://patch-diff.githubusercontent.com/igbinary/igbinary/issues/366
Reloadhttps://patch-diff.githubusercontent.com/igbinary/igbinary/issues/366
igbinary https://patch-diff.githubusercontent.com/igbinary
igbinaryhttps://patch-diff.githubusercontent.com/igbinary/igbinary
phadej/igbinaryhttps://patch-diff.githubusercontent.com/phadej/igbinary
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Figbinary%2Figbinary
Fork 72 https://patch-diff.githubusercontent.com/login?return_to=%2Figbinary%2Figbinary
Star 777 https://patch-diff.githubusercontent.com/login?return_to=%2Figbinary%2Figbinary
Code https://patch-diff.githubusercontent.com/igbinary/igbinary
Issues 23 https://patch-diff.githubusercontent.com/igbinary/igbinary/issues
Pull requests 2 https://patch-diff.githubusercontent.com/igbinary/igbinary/pulls
Actions https://patch-diff.githubusercontent.com/igbinary/igbinary/actions
Projects 0 https://patch-diff.githubusercontent.com/igbinary/igbinary/projects
Wiki https://patch-diff.githubusercontent.com/igbinary/igbinary/wiki
Security 0 https://patch-diff.githubusercontent.com/igbinary/igbinary/security
Insights https://patch-diff.githubusercontent.com/igbinary/igbinary/pulse
Code https://patch-diff.githubusercontent.com/igbinary/igbinary
Issues https://patch-diff.githubusercontent.com/igbinary/igbinary/issues
Pull requests https://patch-diff.githubusercontent.com/igbinary/igbinary/pulls
Actions https://patch-diff.githubusercontent.com/igbinary/igbinary/actions
Projects https://patch-diff.githubusercontent.com/igbinary/igbinary/projects
Wiki https://patch-diff.githubusercontent.com/igbinary/igbinary/wiki
Security https://patch-diff.githubusercontent.com/igbinary/igbinary/security
Insights https://patch-diff.githubusercontent.com/igbinary/igbinary/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/igbinary/igbinary/issues/366
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/igbinary/igbinary/issues/366
Idea: New v3 opt-in serialization format to save spacehttps://patch-diff.githubusercontent.com/igbinary/igbinary/issues/366#top
https://github.com/TysonAndre
https://github.com/TysonAndre
TysonAndrehttps://github.com/TysonAndre
on Oct 18, 2022https://github.com/igbinary/igbinary/issues/366#issue-1412592536
phpredis/phpredis#2194https://github.com/phpredis/phpredis/issues/2194
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.