René's URL Explorer Experiment


Title: modified Vector v4 equality check by adnanmuttaleb · Pull Request #35 · fluentpython/example-code · GitHub

Open Graph Title: modified Vector v4 equality check by adnanmuttaleb · Pull Request #35 · fluentpython/example-code

X Title: modified Vector v4 equality check by adnanmuttaleb · Pull Request #35 · fluentpython/example-code

Description: According to my understanding of hashing and equality, I tried to enhance the performance of equality checking by ensuring that __eq__ does not perform component based comparison only if vectors has the same hash values (if two hashes is different then the two vectors are definitely unequal). because if two vectors has same hash value then: either they equal they are not equal `Vector(1, 0, -1)` and `Vector(1, -1, 0)` will have the same hash value of -2

Open Graph Description: According to my understanding of hashing and equality, I tried to enhance the performance of equality checking by ensuring that __eq__ does not perform component based comparison only if vectors h...

X Description: According to my understanding of hashing and equality, I tried to enhance the performance of equality checking by ensuring that __eq__ does not perform component based comparison only if vectors h...

Opengraph URL: https://github.com/fluentpython/example-code/pull/35

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.4

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:dad293af-77a4-2be8-7593-fecb221d5361
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA88E:2E2C5:4ED79A:6B4502:6B067D7F
html-safe-nonce14420173b3b337f5569756f04f6519ce7b6236e4d593d460c5721ce3cb612800
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODhFOjJFMkM1OjRFRDc5QTo2QjQ1MDI6NkIwNjdEN0YiLCJ2aXNpdG9yX2lkIjoiMjM1NTkzOTU2MTA4OTQzMjk1OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaccdfb50604b1c64508ae5e21389e3940739a8b40a6ccbeb23136570e9690c22d4
hovercard-subject-tagpull_request:333493053
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/fluentpython/example-code/pull/35/files
twitter:imagehttps://avatars.githubusercontent.com/u/9295683?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/9295683?s=400&v=4
og:image:altAccording to my understanding of hashing and equality, I tried to enhance the performance of equality checking by ensuring that __eq__ does not perform component based comparison only if vectors h...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None4462ff7ebfd3d551f202659f2423dae617b6849d23b1df6465dc504ef497d14a
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/fluentpython/example-code git https://github.com/fluentpython/example-code.git
octolytics-dimension-user_id9216311
octolytics-dimension-user_loginfluentpython
octolytics-dimension-repository_id25216588
octolytics-dimension-repository_nwofluentpython/example-code
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id25216588
octolytics-dimension-repository_network_root_nwofluentpython/example-code
turbo-body-classeslogged-out env-production page-responsive
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release6d3909414814ff86ce7da4c51a0f4918a13fb41b
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/fluentpython/example-code/pull/35/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffluentpython%2Fexample-code%2Fpull%2F35%2Ffiles
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%2Ffluentpython%2Fexample-code%2Fpull%2F35%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=fluentpython%2Fexample-code
Reloadhttps://github.com/fluentpython/example-code/pull/35/files
Reloadhttps://github.com/fluentpython/example-code/pull/35/files
Reloadhttps://github.com/fluentpython/example-code/pull/35/files
fluentpythonhttps://github.com/fluentpython
example-codehttps://github.com/fluentpython/example-code
Codehttps://github.com/fluentpython/example-code
Issues14 (14)https://github.com/fluentpython/example-code/issues
Pull requests10 (10)https://github.com/fluentpython/example-code/pulls
Actionshttps://github.com/fluentpython/example-code/actions
Projectshttps://github.com/fluentpython/example-code/projects
Wikihttps://github.com/fluentpython/example-code/wiki
Security and qualityhttps://github.com/fluentpython/example-code/security
Insightshttps://github.com/fluentpython/example-code/insights
adnanmuttalebhttps://github.com/adnanmuttaleb
fluentpython:masterhttps://github.com/fluentpython/example-code/tree/master
Conversation 0 https://github.com/fluentpython/example-code/pull/35
Commits 1 https://github.com/fluentpython/example-code/pull/35/commits
Checks 0 https://github.com/fluentpython/example-code/pull/35/checks
Files changed https://github.com/fluentpython/example-code/pull/35/files
Please reload this pagehttps://github.com/fluentpython/example-code/pull/35/files
modified Vector v4 equality check https://github.com/fluentpython/example-code/pull/35/files#top
Show all changes 1 commit https://github.com/fluentpython/example-code/pull/35/files
328d83a modified Vector v4 equality check Oct 29, 2019 https://github.com/fluentpython/example-code/pull/35/commits/328d83a08a5ae6759c6f26ede48aaca06c672f53
Clear filters https://github.com/fluentpython/example-code/pull/35/files
Please reload this pagehttps://github.com/fluentpython/example-code/pull/35/files
Please reload this pagehttps://github.com/fluentpython/example-code/pull/35/files
10-seq-hacking/vector_v4.pyhttps://github.com/fluentpython/example-code/pull/35/files#diff-c895da1c3b3ec19147a9fde67954596527499a8526ddd67c194254b39a5c128b
View file https://github.com/fluentpython/example-code/blob/328d83a08a5ae6759c6f26ede48aaca06c672f53/10-seq-hacking/vector_v4.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/fluentpython/example-code/pull/35/{{ revealButtonHref }}
https://github.com/fluentpython/example-code/pull/35/files#diff-c895da1c3b3ec19147a9fde67954596527499a8526ddd67c194254b39a5c128b
https://github.com/fluentpython/example-code/pull/35/files#diff-c895da1c3b3ec19147a9fde67954596527499a8526ddd67c194254b39a5c128b
https://github.com/fluentpython/example-code/pull/35/files#diff-c895da1c3b3ec19147a9fde67954596527499a8526ddd67c194254b39a5c128b
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.