René's URL Explorer Experiment


Title: Question regarding the use of binary search in mrbc_hash_search · Issue #253 · mrubyc/mrubyc · GitHub

Open Graph Title: Question regarding the use of binary search in mrbc_hash_search · Issue #253 · mrubyc/mrubyc

X Title: Question regarding the use of binary search in mrbc_hash_search · Issue #253 · mrubyc/mrubyc

Description: Wouldn't binary search be faster for mrbc_hash_search? To clarify, this is a technical discussion and not a formal feature request. If it is determined that this should be implemented, I am happy to write the code and submit a pull reque...

Open Graph Description: Wouldn't binary search be faster for mrbc_hash_search? To clarify, this is a technical discussion and not a formal feature request. If it is determined that this should be implemented, I am happy t...

X Description: Wouldn't binary search be faster for mrbc_hash_search? To clarify, this is a technical discussion and not a formal feature request. If it is determined that this should be implemented, I am hap...

Opengraph URL: https://github.com/mrubyc/mrubyc/issues/253

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Question regarding the use of binary search in mrbc_hash_search","articleBody":"Wouldn't binary search be faster for mrbc_hash_search?\n\nTo clarify, this is a technical discussion and not a formal feature request. If it is determined that this should be implemented, I am happy to write the code and submit a pull request myself.\n\nReference code: https://github.com/mrubyc/mrubyc/blob/master/src/c_hash.c#L123\n\nRegarding the code above, it seems to me that we could use binary search if we perform an insertion sort when adding new keys in mrbc_hash_set. Are there specific trade-offs for this use case—such as linear search being more cost-effective during access—that I might be overlooking?\n","author":{"url":"https://github.com/kmt-t","@type":"Person","name":"kmt-t"},"datePublished":"2026-01-25T18:52:05.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/253/mrubyc/issues/253"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:39d7bdbb-180a-fa25-e363-136a7d2e3eb6
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD5BC:176908:2ECA45:3E8B11:698EE427
html-safe-nonce785b15e0ce5e4010bc3c22a6b0e1aa41f713ab04981f4c4589c327e3fee7eb60
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENUJDOjE3NjkwODoyRUNBNDU6M0U4QjExOjY5OEVFNDI3IiwidmlzaXRvcl9pZCI6IjY0NjIwODQyNDYzMDMzMzU0NjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac913c230833d211ed66eb855e480ae8e3faf96c4c62f702bda70eea3d1c91348f
hovercard-subject-tagissue:3853699998
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/mrubyc/mrubyc/253/issue_layout
twitter:imagehttps://opengraph.githubassets.com/2b58b476d6cdb85ae4b7fce8a4252bb8b8c524332b1c573820560d978d86bf79/mrubyc/mrubyc/issues/253
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2b58b476d6cdb85ae4b7fce8a4252bb8b8c524332b1c573820560d978d86bf79/mrubyc/mrubyc/issues/253
og:image:altWouldn't binary search be faster for mrbc_hash_search? To clarify, this is a technical discussion and not a formal feature request. If it is determined that this should be implemented, I am happy t...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekmt-t
hostnamegithub.com
expected-hostnamegithub.com
Nonecb2828a801ee6b7be618f3ac76fbf55def35bbc30f053a9c41bf90210b8b72ba
turbo-cache-controlno-preview
go-importgithub.com/mrubyc/mrubyc git https://github.com/mrubyc/mrubyc.git
octolytics-dimension-user_id17872973
octolytics-dimension-user_loginmrubyc
octolytics-dimension-repository_id54011776
octolytics-dimension-repository_nwomrubyc/mrubyc
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id54011776
octolytics-dimension-repository_network_root_nwomrubyc/mrubyc
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
releasee6b91a7e6e46287d26887e3fb7a4161657bab8f7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/mrubyc/mrubyc/issues/253#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmrubyc%2Fmrubyc%2Fissues%2F253
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%2Fmrubyc%2Fmrubyc%2Fissues%2F253
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=mrubyc%2Fmrubyc
Reloadhttps://patch-diff.githubusercontent.com/mrubyc/mrubyc/issues/253
Reloadhttps://patch-diff.githubusercontent.com/mrubyc/mrubyc/issues/253
Reloadhttps://patch-diff.githubusercontent.com/mrubyc/mrubyc/issues/253
mrubyc https://patch-diff.githubusercontent.com/mrubyc
mrubychttps://patch-diff.githubusercontent.com/mrubyc/mrubyc
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fmrubyc%2Fmrubyc
Fork 82 https://patch-diff.githubusercontent.com/login?return_to=%2Fmrubyc%2Fmrubyc
Star 475 https://patch-diff.githubusercontent.com/login?return_to=%2Fmrubyc%2Fmrubyc
Code https://patch-diff.githubusercontent.com/mrubyc/mrubyc
Issues 1 https://patch-diff.githubusercontent.com/mrubyc/mrubyc/issues
Pull requests 4 https://patch-diff.githubusercontent.com/mrubyc/mrubyc/pulls
Actions https://patch-diff.githubusercontent.com/mrubyc/mrubyc/actions
Projects 0 https://patch-diff.githubusercontent.com/mrubyc/mrubyc/projects
Wiki https://patch-diff.githubusercontent.com/mrubyc/mrubyc/wiki
Security 0 https://patch-diff.githubusercontent.com/mrubyc/mrubyc/security
Insights https://patch-diff.githubusercontent.com/mrubyc/mrubyc/pulse
Code https://patch-diff.githubusercontent.com/mrubyc/mrubyc
Issues https://patch-diff.githubusercontent.com/mrubyc/mrubyc/issues
Pull requests https://patch-diff.githubusercontent.com/mrubyc/mrubyc/pulls
Actions https://patch-diff.githubusercontent.com/mrubyc/mrubyc/actions
Projects https://patch-diff.githubusercontent.com/mrubyc/mrubyc/projects
Wiki https://patch-diff.githubusercontent.com/mrubyc/mrubyc/wiki
Security https://patch-diff.githubusercontent.com/mrubyc/mrubyc/security
Insights https://patch-diff.githubusercontent.com/mrubyc/mrubyc/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/mrubyc/mrubyc/issues/253
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/mrubyc/mrubyc/issues/253
Question regarding the use of binary search in mrbc_hash_searchhttps://patch-diff.githubusercontent.com/mrubyc/mrubyc/issues/253#top
https://github.com/kmt-t
https://github.com/kmt-t
kmt-thttps://github.com/kmt-t
on Jan 25, 2026https://github.com/mrubyc/mrubyc/issues/253#issue-3853699998
https://github.com/mrubyc/mrubyc/blob/master/src/c_hash.c#L123https://github.com/mrubyc/mrubyc/blob/master/src/c_hash.c#L123
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.