René's URL Explorer Experiment


Title: optimize morph by pre-computing the mask linear offsets by vakopian · Pull Request #1550 · arrayfire/arrayfire · GitHub

Open Graph Title: optimize morph by pre-computing the mask linear offsets by vakopian · Pull Request #1550 · arrayfire/arrayfire

X Title: optimize morph by pre-computing the mask linear offsets by vakopian · Pull Request #1550 · arrayfire/arrayfire

Description: As discussed in #1547 (comment), this patch is to optimize the algorithm for erode and dilate. Before this patch, the following code took about 110 seconds, while after the patch it takes about 4 s...

Open Graph Description: As discussed in #1547 (comment), this patch is to optimize the algorithm for erode and dilate. Before this patch, the following code took about 110 seconds, while after the patch it takes about 4 s...

X Description: As discussed in #1547 (comment), this patch is to optimize the algorithm for erode and dilate. Before this patch, the following code took about 110 seconds, while after the patch it takes about 4 s...

Opengraph URL: https://github.com/arrayfire/arrayfire/pull/1550

X: @github

direct link

Domain: github.com

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:6000e92b-023b-445e-cda6-664e810399b0
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA07A:225E33:18CA134:213AA95:6969AD97
html-safe-nonce367a350ad65e98cfa3fa9198f3cc8326c121a783cee78f367d00aa01669fba11
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMDdBOjIyNUUzMzoxOENBMTM0OjIxM0FBOTU6Njk2OUFEOTciLCJ2aXNpdG9yX2lkIjoiNDY0NTM4NDc2NzM5MjAzNDE5OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacfc22b863c5051df47cdbfa7af20f9ecd1a68330af0b2720e5a9c747b70ecc344
hovercard-subject-tagpull_request:82065569
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/arrayfire/arrayfire/1550/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/d4e37a37193af48a9986377741d780c2bc713d83b8307081ab073e456892771e/arrayfire/arrayfire/pull/1550
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d4e37a37193af48a9986377741d780c2bc713d83b8307081ab073e456892771e/arrayfire/arrayfire/pull/1550
og:image:altAs discussed in #1547 (comment), this patch is to optimize the algorithm for erode and dilate. Before this patch, the following code took about 110 seconds, while after the patch it takes about 4 s...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevakopian
hostnamegithub.com
expected-hostnamegithub.com
None24c4c97a2d520cb286b35e1a4c22d7a4df3c26a2fa28dd7cdf0e65db327b4de7
turbo-cache-controlno-preview
go-importgithub.com/arrayfire/arrayfire git https://github.com/arrayfire/arrayfire.git
octolytics-dimension-user_id5395442
octolytics-dimension-user_loginarrayfire
octolytics-dimension-repository_id25889802
octolytics-dimension-repository_nwoarrayfire/arrayfire
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id25889802
octolytics-dimension-repository_network_root_nwoarrayfire/arrayfire
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
release124667f43168afb6c9c03b7c02eb5b1d2e1be3d9
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/arrayfire/arrayfire/pull/1550#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Farrayfire%2Farrayfire%2Fpull%2F1550
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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Farrayfire%2Farrayfire%2Fpull%2F1550
Sign up https://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=arrayfire%2Farrayfire
Reloadhttps://github.com/arrayfire/arrayfire/pull/1550
Reloadhttps://github.com/arrayfire/arrayfire/pull/1550
Reloadhttps://github.com/arrayfire/arrayfire/pull/1550
arrayfire https://github.com/arrayfire
arrayfirehttps://github.com/arrayfire/arrayfire
Notifications https://github.com/login?return_to=%2Farrayfire%2Farrayfire
Fork 549 https://github.com/login?return_to=%2Farrayfire%2Farrayfire
Star 4.8k https://github.com/login?return_to=%2Farrayfire%2Farrayfire
Code https://github.com/arrayfire/arrayfire
Issues 285 https://github.com/arrayfire/arrayfire/issues
Pull requests 18 https://github.com/arrayfire/arrayfire/pulls
Actions https://github.com/arrayfire/arrayfire/actions
Projects 0 https://github.com/arrayfire/arrayfire/projects
Wiki https://github.com/arrayfire/arrayfire/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/arrayfire/arrayfire/security
Please reload this pagehttps://github.com/arrayfire/arrayfire/pull/1550
Insights https://github.com/arrayfire/arrayfire/pulse
Code https://github.com/arrayfire/arrayfire
Issues https://github.com/arrayfire/arrayfire/issues
Pull requests https://github.com/arrayfire/arrayfire/pulls
Actions https://github.com/arrayfire/arrayfire/actions
Projects https://github.com/arrayfire/arrayfire/projects
Wiki https://github.com/arrayfire/arrayfire/wiki
Security https://github.com/arrayfire/arrayfire/security
Insights https://github.com/arrayfire/arrayfire/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Farrayfire%2Farrayfire%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Farrayfire%2Farrayfire%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/arrayfire/arrayfire/pull/1550#issue-comment-box
vakopianhttps://github.com/vakopian
arrayfire:masterhttps://github.com/arrayfire/arrayfire/tree/master
vakopian:morph-optimizationhttps://github.com/vakopian/arrayfire/tree/morph-optimization
optimize morph by pre-computing the mask linear offsets https://github.com/arrayfire/arrayfire/pull/1550#top
vakopianhttps://github.com/vakopian
arrayfire:masterhttps://github.com/arrayfire/arrayfire/tree/master
vakopian:morph-optimizationhttps://github.com/vakopian/arrayfire/tree/morph-optimization
Conversation 12 https://github.com/arrayfire/arrayfire/pull/1550
Commits 3 https://github.com/arrayfire/arrayfire/pull/1550/commits
Checks 0 https://github.com/arrayfire/arrayfire/pull/1550/checks
Files changed https://github.com/arrayfire/arrayfire/pull/1550/files
Please reload this pagehttps://github.com/arrayfire/arrayfire/pull/1550
https://github.co/hiddenchars
https://github.com/arrayfire/arrayfire/pull/{{ revealButtonHref }}
https://github.com/vakopian
vakopianhttps://github.com/vakopian
Aug 20, 2016https://github.com/arrayfire/arrayfire/pull/1550#issue-172247509
Please reload this pagehttps://github.com/arrayfire/arrayfire/pull/1550
#1547 (comment)https://github.com/arrayfire/arrayfire/pull/1547#issuecomment-241145933
Please reload this pagehttps://github.com/arrayfire/arrayfire/pull/1550
optimize morph by pre-computing the mask linear offsetshttps://github.com/arrayfire/arrayfire/pull/1550/commits/40b5a8deda5132414e892979dedca31017ac3075
40b5a8dhttps://github.com/arrayfire/arrayfire/pull/1550/commits/40b5a8deda5132414e892979dedca31017ac3075
https://github.com/vakopian
vakopianhttps://github.com/vakopian
Aug 20, 2016https://github.com/arrayfire/arrayfire/pull/1550#event-761971919
need to pad the input array to be able to use mask offsetshttps://github.com/arrayfire/arrayfire/pull/1550/commits/86c77c182dce321185dac6a483e2b4e9de2bb9ac
86c77c1https://github.com/arrayfire/arrayfire/pull/1550/commits/86c77c182dce321185dac6a483e2b4e9de2bb9ac
https://github.com/vakopian
vakopianhttps://github.com/vakopian
Aug 20, 2016https://github.com/arrayfire/arrayfire/pull/1550#event-762170736
no need for evalhttps://github.com/arrayfire/arrayfire/pull/1550/commits/be0f81750e618b5a448558e848ac6c0d875bce3f
be0f817https://github.com/arrayfire/arrayfire/pull/1550/commits/be0f81750e618b5a448558e848ac6c0d875bce3f
https://github.com/pavanky
pavankyhttps://github.com/pavanky
Aug 21, 2016https://github.com/arrayfire/arrayfire/pull/1550#issuecomment-241285924
@vakopianhttps://github.com/vakopian
Please reload this pagehttps://github.com/arrayfire/arrayfire/pull/1550
https://github.com/vakopian
vakopianhttps://github.com/vakopian
Aug 22, 2016https://github.com/arrayfire/arrayfire/pull/1550#issuecomment-241491741
Please reload this pagehttps://github.com/arrayfire/arrayfire/pull/1550
https://github.com/pavanky
pavankyhttps://github.com/pavanky
Aug 22, 2016https://github.com/arrayfire/arrayfire/pull/1550#issuecomment-241495315
@vakopianhttps://github.com/vakopian
Please reload this pagehttps://github.com/arrayfire/arrayfire/pull/1550
https://github.com/vakopian
vakopianhttps://github.com/vakopian
Aug 22, 2016https://github.com/arrayfire/arrayfire/pull/1550#issuecomment-241507862
Please reload this pagehttps://github.com/arrayfire/arrayfire/pull/1550
Please reload this pagehttps://github.com/arrayfire/arrayfire/pull/1550
https://github.com/pavanky
pavankyhttps://github.com/pavanky
Aug 22, 2016https://github.com/arrayfire/arrayfire/pull/1550#issuecomment-241513811
Please reload this pagehttps://github.com/arrayfire/arrayfire/pull/1550
@vakopianhttps://github.com/vakopian
Please reload this pagehttps://github.com/arrayfire/arrayfire/pull/1550
https://github.com/pavanky
pavankyhttps://github.com/pavanky
Aug 22, 2016https://github.com/arrayfire/arrayfire/pull/1550#issuecomment-241514224
Please reload this pagehttps://github.com/arrayfire/arrayfire/pull/1550
Please reload this pagehttps://github.com/arrayfire/arrayfire/pull/1550
https://github.com/pavanky
pavankyhttps://github.com/pavanky
Aug 22, 2016https://github.com/arrayfire/arrayfire/pull/1550#issuecomment-241516867
Please reload this pagehttps://github.com/arrayfire/arrayfire/pull/1550
Please reload this pagehttps://github.com/arrayfire/arrayfire/pull/1550
https://github.com/pavanky
pavankyhttps://github.com/pavanky
Aug 22, 2016https://github.com/arrayfire/arrayfire/pull/1550#issuecomment-241519989
@vakopianhttps://github.com/vakopian
Please reload this pagehttps://github.com/arrayfire/arrayfire/pull/1550
https://github.com/vakopian
vakopianhttps://github.com/vakopian
Aug 22, 2016https://github.com/arrayfire/arrayfire/pull/1550#issuecomment-241542059
Please reload this pagehttps://github.com/arrayfire/arrayfire/pull/1550
https://github.com/vakopian
vakopianhttps://github.com/vakopian
Aug 22, 2016https://github.com/arrayfire/arrayfire/pull/1550#issuecomment-241585752
@pavankyhttps://github.com/pavanky
Please reload this pagehttps://github.com/arrayfire/arrayfire/pull/1550
https://github.com/pavanky
pavankyhttps://github.com/pavanky
Sep 8, 2016https://github.com/arrayfire/arrayfire/pull/1550#event-782836820
https://github.com/shehzan10
shehzan10https://github.com/shehzan10
v3.4.2https://github.com/arrayfire/arrayfire/milestone/19
v3.4.1https://github.com/arrayfire/arrayfire/milestone/18
Oct 12, 2016https://github.com/arrayfire/arrayfire/pull/1550#event-821092463
https://github.com/shehzan10
shehzan10https://github.com/shehzan10
v3.5.0https://github.com/arrayfire/arrayfire/milestone/16
v3.4.2https://github.com/arrayfire/arrayfire/milestone/19
Dec 16, 2016https://github.com/arrayfire/arrayfire/pull/1550#event-896964758
https://github.com/mlloreda
mlloredahttps://github.com/mlloreda
v3.5.1https://github.com/arrayfire/arrayfire/milestone/20
v3.5.0https://github.com/arrayfire/arrayfire/milestone/16
May 22, 2017https://github.com/arrayfire/arrayfire/pull/1550#event-1092014761
https://github.com/pavanky
pavankyhttps://github.com/pavanky
v3.6.0https://github.com/arrayfire/arrayfire/milestone/21
v3.5.1https://github.com/arrayfire/arrayfire/milestone/20
Jun 16, 2017https://github.com/arrayfire/arrayfire/pull/1550#event-1127489010
https://github.com/pavanky
pavankyhttps://github.com/pavanky
August 23, 2017 14:59https://github.com/arrayfire/arrayfire/pull/1550#event-1218026170
https://github.com/pavanky
pavankyhttps://github.com/pavanky
August 23, 2017 15:05https://github.com/arrayfire/arrayfire/pull/1550#event-1218038758
https://github.com/pavanky
pavankyhttps://github.com/pavanky
v3.6.0https://github.com/arrayfire/arrayfire/milestone/21
v3.5.1https://github.com/arrayfire/arrayfire/milestone/20
Aug 23, 2017https://github.com/arrayfire/arrayfire/pull/1550#event-1218038966
https://github.com/9prady9
9prady9https://github.com/9prady9
Feb 25, 2018https://github.com/arrayfire/arrayfire/pull/1550#issuecomment-368277925
@vakopianhttps://github.com/vakopian
Please reload this pagehttps://github.com/arrayfire/arrayfire/pull/1550
https://github.com/umar456
umar456https://github.com/umar456
v3.6.0https://github.com/arrayfire/arrayfire/milestone/21
Feb 27, 2018https://github.com/arrayfire/arrayfire/pull/1550#event-1495621261
https://github.com/9prady9
9prady9https://github.com/9prady9
in-progress https://github.com/arrayfire/arrayfire/issues?q=state%3Aopen%20label%3Ain-progress
CPU https://github.com/arrayfire/arrayfire/issues?q=state%3Aopen%20label%3ACPU
Jul 13, 2018https://github.com/arrayfire/arrayfire/pull/1550#event-1731907916
https://github.com/9prady9
9prady9https://github.com/9prady9
Jul 13, 2018 https://github.com/arrayfire/arrayfire/pull/1550#ref-pullrequest-340998221
Morph optimizations #2238 https://github.com/arrayfire/arrayfire/pull/2238
https://github.com/9prady9
9prady9https://github.com/9prady9
Jul 13, 2018https://github.com/arrayfire/arrayfire/pull/1550#issuecomment-404817386
#2238https://github.com/arrayfire/arrayfire/pull/2238
Please reload this pagehttps://github.com/arrayfire/arrayfire/pull/1550
https://github.com/9prady9
9prady9https://github.com/9prady9
Jul 13, 2018https://github.com/arrayfire/arrayfire/pull/1550#event-1732464233
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Farrayfire%2Farrayfire%2Fpull%2F1550
CPU https://github.com/arrayfire/arrayfire/issues?q=state%3Aopen%20label%3ACPU
in-progress https://github.com/arrayfire/arrayfire/issues?q=state%3Aopen%20label%3Ain-progress
Please reload this pagehttps://github.com/arrayfire/arrayfire/pull/1550
https://github.com/vakopian
https://github.com/pavanky
https://github.com/9prady9
https://github.com/mlloreda
https://github.com/umar456
https://github.com/shehzan10
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.