Title: Refactor recalcAttrs · Issue #1578 · plotly/plotly.js · GitHub
Open Graph Title: Refactor recalcAttrs · Issue #1578 · plotly/plotly.js
X Title: Refactor recalcAttrs · Issue #1578 · plotly/plotly.js
Description: Carpet is going to add a huge number of attrs to recalcAttrs. (up to 287 total or so!?) The array of attributes is recalculated on every plot and it looks them up with indexOf. It should place them in a hash (e.g. {mode: true, visible: t...
Open Graph Description: Carpet is going to add a huge number of attrs to recalcAttrs. (up to 287 total or so!?) The array of attributes is recalculated on every plot and it looks them up with indexOf. It should place them...
X Description: Carpet is going to add a huge number of attrs to recalcAttrs. (up to 287 total or so!?) The array of attributes is recalculated on every plot and it looks them up with indexOf. It should place them...
Opengraph URL: https://github.com/plotly/plotly.js/issues/1578
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Refactor recalcAttrs","articleBody":"Carpet is going to add a huge number of attrs to recalcAttrs. (up to 287 total or so!?) The array of attributes is recalculated on every plot *and* it looks them up with `indexOf`. It should place them in a hash (e.g. `{mode: true, visible: true, ...}`) and should be defined in a plot-api-global context since it never changes.\r\n\r\n@alexcjohnson notes that a larger refactoring is desired, but this might be a start since, at least once carpet is merged, it shouldn't take more than five minutes and may very well be at the point of having a non-negligible impact on performance.\r\n\r\ncc @etpinard ","author":{"url":"https://github.com/rreusser","@type":"Person","name":"rreusser"},"datePublished":"2017-04-10T21:03:43Z","url":"https://github.com/plotly/plotly.js/issues/1578"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:cfb8e9fa-3985-4e4b-2263-2c91a7dcec71 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 96CE:ADA9D:2D8ED3D:3A7352A:6B01AF38 |
| html-safe-nonce | c233e94047cfea7a3f2ba771da6a1641457fcf1bae789108b2e40edf04a4ed31 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NkNFOkFEQTlEOjJEOEVEM0Q6M0E3MzUyQTo2QjAxQUYzOCIsInZpc2l0b3JfaWQiOiI4OTQ0Mjg5NzI3MDY4MDM1MTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8fd76151451554afdf33b72c79a94ba22feaacfaa7a311d622372f8a0267b64f |
| hovercard-subject-tag | issue:220770021 |
| 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/plotly/plotly.js/1578/issue_layout |
| twitter:image | https://opengraph.githubassets.com/30403fec9d0be0a94c8abc849962d0a9466177d2a4146f70ea3744ca974fdebe/plotly/plotly.js/issues/1578 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/30403fec9d0be0a94c8abc849962d0a9466177d2a4146f70ea3744ca974fdebe/plotly/plotly.js/issues/1578 |
| og:image:alt | Carpet is going to add a huge number of attrs to recalcAttrs. (up to 287 total or so!?) The array of attributes is recalculated on every plot and it looks them up with indexOf. It should place them... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rreusser |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/plotly/plotly.js git https://github.com/plotly/plotly.js.git |
| octolytics-dimension-user_id | 5997976 |
| octolytics-dimension-user_login | plotly |
| octolytics-dimension-repository_id | 45646037 |
| octolytics-dimension-repository_nwo | plotly/plotly.js |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 45646037 |
| octolytics-dimension-repository_network_root_nwo | plotly/plotly.js |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width