Title: Optimizations in GenerateTableRow method (TableWriter.cs) · Issue #6526 · PowerShell/PowerShell · GitHub
Open Graph Title: Optimizations in GenerateTableRow method (TableWriter.cs) · Issue #6526 · PowerShell/PowerShell
X Title: Optimizations in GenerateTableRow method (TableWriter.cs) · Issue #6526 · PowerShell/PowerShell
Description: In GenerateTableRow we have several similar repetitive cycles which we could replace one: for (int row = 0; row < rows.Length; row++) ... for (int col = 0; col < scArray.Length; col++) Also we could use Span and other means to reduce all...
Open Graph Description: In GenerateTableRow we have several similar repetitive cycles which we could replace one: for (int row = 0; row < rows.Length; row++) ... for (int col = 0; col < scArray.Length; col++) Also we coul...
X Description: In GenerateTableRow we have several similar repetitive cycles which we could replace one: for (int row = 0; row < rows.Length; row++) ... for (int col = 0; col < scArray.Length; col++) Also w...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/6526
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Optimizations in GenerateTableRow method (TableWriter.cs)","articleBody":"\r\nIn [GenerateTableRow](https://github.com/SteveL-MSFT/PowerShell/blob/d1985711d739951fa129e4ad5aa67cb912715073/src/System.Management.Automation/FormatAndOutput/common/TableWriter.cs#L230)\r\n we have several similar repetitive cycles which we could replace one:\r\n```c#\r\nfor (int row = 0; row \u003c rows.Length; row++) \r\n...\r\n for (int col = 0; col \u003c scArray.Length; col++) \r\n```\r\n\r\nAlso we could use Span\u003cT\u003e and other means to reduce allocations.","author":{"url":"https://github.com/iSazonov","@type":"Person","name":"iSazonov"},"datePublished":"2018-03-29T06:48:50.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/6526/PowerShell/issues/6526"}
| 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:538e728b-9b29-f722-cd59-b7019e266d9e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BE12:2D9780:1FBC60:2BBE88:6A551555 |
| html-safe-nonce | 0dbfd20936e48da534f96271a9f6a53f18bf87af464d83b9be450da5e196e9d0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRTEyOjJEOTc4MDoxRkJDNjA6MkJCRTg4OjZBNTUxNTU1IiwidmlzaXRvcl9pZCI6IjQ4NzI0NTMyMjQ0MjEyMDEyMzciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2c6f606ceaa43cd0b59711a7d2f601394c5d5326b4a4d2337abaa23e4f316d92 |
| hovercard-subject-tag | issue:309638494 |
| 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/PowerShell/PowerShell/6526/issue_layout |
| twitter:image | https://opengraph.githubassets.com/43acc3e9fed1e5dc4516947bffd278c6884160bf0030d8bf7cd3adea99a3aca6/PowerShell/PowerShell/issues/6526 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/43acc3e9fed1e5dc4516947bffd278c6884160bf0030d8bf7cd3adea99a3aca6/PowerShell/PowerShell/issues/6526 |
| og:image:alt | In GenerateTableRow we have several similar repetitive cycles which we could replace one: for (int row = 0; row < rows.Length; row++) ... for (int col = 0; col < scArray.Length; col++) Also we coul... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | iSazonov |
| hostname | github.com |
| expected-hostname | github.com |
| None | 682d273eacb2ac51680c6eb9c0b270f029f7ce74c32090f319083c34497e28a5 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| 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 | 3b6d37c6470adadff4194742daaab9a817cc4980 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width