Title: Redo/refactor calculations and caching of properties such as degrees · Issue #86 · python-graphblas/graphblas-algorithms · GitHub
Open Graph Title: Redo/refactor calculations and caching of properties such as degrees · Issue #86 · python-graphblas/graphblas-algorithms
X Title: Redo/refactor calculations and caching of properties such as degrees · Issue #86 · python-graphblas/graphblas-algorithms
Description: We compute and cache many properties such as has_self_edges, degrees- (w/o diagonals), degrees+ (with diagonals), etc., which is actually very handy. However, the code is a little complicated (cough cough, my bad) and may be error prone ...
Open Graph Description: We compute and cache many properties such as has_self_edges, degrees- (w/o diagonals), degrees+ (with diagonals), etc., which is actually very handy. However, the code is a little complicated (coug...
X Description: We compute and cache many properties such as has_self_edges, degrees- (w/o diagonals), degrees+ (with diagonals), etc., which is actually very handy. However, the code is a little complicated (coug...
Opengraph URL: https://github.com/python-graphblas/graphblas-algorithms/issues/86
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Redo/refactor calculations and caching of properties such as degrees","articleBody":"We compute and cache many properties such as `has_self_edges`, `degrees-` (w/o diagonals), `degrees+` (with diagonals), etc., which is actually very handy. However, the code is a little complicated (_cough cough_, my bad) and may be error prone (see: https://github.com/python-graphblas/graphblas-algorithms/issues/82#issuecomment-1840040146). It would be great if we could refactor this to be more clear, maintainable, and safe. I imagine such a solution would be more declarative and less procedural.","author":{"url":"https://github.com/eriknw","@type":"Person","name":"eriknw"},"datePublished":"2023-12-14T11:50:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/86/graphblas-algorithms/issues/86"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6cf83a12-c711-18fe-799f-7576781ae142 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DB2C:1D8C8E:B11EE4:EEF293:698E417B |
| html-safe-nonce | f254bd8fef7373f627c64676f8f341cf712f8eba2e016de4ed01ed914fde2116 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjJDOjFEOEM4RTpCMTFFRTQ6RUVGMjkzOjY5OEU0MTdCIiwidmlzaXRvcl9pZCI6IjQ2MDIwNTE2MTM5ODQ0NDA2OTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4be7657f616d78bf6ae09e9a4ae74aae06de9eba3403b485f2bd2ee0486e0e5f |
| hovercard-subject-tag | issue:2041535334 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-graphblas/graphblas-algorithms/86/issue_layout |
| twitter:image | https://opengraph.githubassets.com/850930bb52606f8eba247dcb65274aa5dbb91e65b93f299e297a326b30762922/python-graphblas/graphblas-algorithms/issues/86 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/850930bb52606f8eba247dcb65274aa5dbb91e65b93f299e297a326b30762922/python-graphblas/graphblas-algorithms/issues/86 |
| og:image:alt | We compute and cache many properties such as has_self_edges, degrees- (w/o diagonals), degrees+ (with diagonals), etc., which is actually very handy. However, the code is a little complicated (coug... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | eriknw |
| hostname | github.com |
| expected-hostname | github.com |
| None | a5632af64f7fed7bff1d6a428d1aca1b94fa7a48f760de2d39d9b1effdbf0082 |
| turbo-cache-control | no-preview |
| go-import | github.com/python-graphblas/graphblas-algorithms git https://github.com/python-graphblas/graphblas-algorithms.git |
| octolytics-dimension-user_id | 103965858 |
| octolytics-dimension-user_login | python-graphblas |
| octolytics-dimension-repository_id | 476154113 |
| octolytics-dimension-repository_nwo | python-graphblas/graphblas-algorithms |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 476154113 |
| octolytics-dimension-repository_network_root_nwo | python-graphblas/graphblas-algorithms |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | aa1fa9100f85cd8b602c63c7e337f9151e70024f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width