| 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 | /:user_id/:repository |
| route-controller | files |
| route-action | disambiguate |
| fetch-nonce | v2:4512a0fc-2663-eb09-bc06-e5bb130aa51a |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | 8D28:AC748:1470352:1AAB712:6B054369 |
| html-safe-nonce | 50eb29cd1c979f0146d87f88b215f9e9d0844097c200f6e4ed0a3748bd14dd71 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDI4OkFDNzQ4OjE0NzAzNTI6MUFBQjcxMjo2QjA1NDM2OSIsInZpc2l0b3JfaWQiOiIxMjgxODI1MjgxODIwNDEwNzMwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | dfea05799eeab2e643bc3a88261b4ac75b9d7549b0ebcd577b765bfdb4e59fee |
| hovercard-subject-tag | repository:422902915 |
| github-keyboard-shortcuts | repository,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/BenjaminAbt/SustainableCode |
| twitter:image | https://opengraph.githubassets.com/b1f7862902f4154e0e4419b7d4180df21721e096cfde5328d22f7972fc1a32a0/BenjaminAbt/SustainableCode |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b1f7862902f4154e0e4419b7d4180df21721e096cfde5328d22f7972fc1a32a0/BenjaminAbt/SustainableCode |
| og:image:alt | Sustainable Code Samples and Patterns by BEN ABT. Contribute to BenjaminAbt/SustainableCode development by creating an account on GitHub. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 854d880890b5e847b3fce9d1b31f032107baeddeebad2aa379c48aa4f1451f6b |
| turbo-cache-control | no-cache |
| go-import | github.com/BenjaminAbt/SustainableCode git https://github.com/BenjaminAbt/SustainableCode.git |
| octolytics-dimension-user_id | 6189336 |
| octolytics-dimension-user_login | BenjaminAbt |
| octolytics-dimension-repository_id | 422902915 |
| octolytics-dimension-repository_nwo | BenjaminAbt/SustainableCode |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 422902915 |
| octolytics-dimension-repository_network_root_nwo | BenjaminAbt/SustainableCode |
| 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 | 220e980097d94ce616d5d11fbd5316d208e3fc93 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/BenjaminAbt/SustainableCode#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FBenjaminAbt%2FSustainableCode |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FBenjaminAbt%2FSustainableCode |
| 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&source=header-repo&source_repo=BenjaminAbt%2FSustainableCode |
| Reload | https://github.com/BenjaminAbt/SustainableCode |
| Reload | https://github.com/BenjaminAbt/SustainableCode |
| Reload | https://github.com/BenjaminAbt/SustainableCode |
| BenjaminAbt | https://github.com/BenjaminAbt |
| SustainableCode | https://github.com/BenjaminAbt/SustainableCode |
| Code | https://github.com/BenjaminAbt/SustainableCode |
| Pull requests | https://github.com/BenjaminAbt/SustainableCode/pulls |
| Actions | https://github.com/BenjaminAbt/SustainableCode/actions |
| Security and quality | https://github.com/BenjaminAbt/SustainableCode/security |
| Insights | https://github.com/BenjaminAbt/SustainableCode/pulse |
| https://github.com/BenjaminAbt/SustainableCode |
| SustainableCode | https://github.com/BenjaminAbt/SustainableCode |
| Notifications | https://github.com/login?return_to=%2FBenjaminAbt%2FSustainableCode |
| Fork8 (8) | https://github.com/login?return_to=%2FBenjaminAbt%2FSustainableCode |
| Star59 (59) | https://github.com/login?return_to=%2FBenjaminAbt%2FSustainableCode |
| Readme | https://github.com/BenjaminAbt/SustainableCode#readme-ov-file |
| Activity | https://github.com/BenjaminAbt/SustainableCode/activity |
| 8 forks | https://github.com/BenjaminAbt/SustainableCode/forks |
| Report repository | https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2FBenjaminAbt%2FSustainableCode&report=BenjaminAbt+%28user%29 |
| Branches | https://github.com/BenjaminAbt/SustainableCode/branches |
| Tags | https://github.com/BenjaminAbt/SustainableCode/tags |
| https://github.com/BenjaminAbt/SustainableCode/branches |
| https://github.com/BenjaminAbt/SustainableCode/tags |
| 64 Commits | https://github.com/BenjaminAbt/SustainableCode/commits/main/ |
| https://github.com/BenjaminAbt/SustainableCode/commits/main/ |
| csharp | https://github.com/BenjaminAbt/SustainableCode/tree/main/csharp |
| csharp | https://github.com/BenjaminAbt/SustainableCode/tree/main/csharp |
| .gitignore | https://github.com/BenjaminAbt/SustainableCode/blob/main/.gitignore |
| .gitignore | https://github.com/BenjaminAbt/SustainableCode/blob/main/.gitignore |
| README.md | https://github.com/BenjaminAbt/SustainableCode/blob/main/README.md |
| README.md | https://github.com/BenjaminAbt/SustainableCode/blob/main/README.md |
| README | https://github.com/BenjaminAbt/SustainableCode |
| https://github.com/BenjaminAbt/SustainableCode#-sustainable-code---by-ben-abt |
| https://github.com/BenjaminAbt/SustainableCode#net-samples |
| .NET Object Pooling with StringBuilder | https://github.com/BenjaminAbt/SustainableCode/blob/main/csharp/stringbuilder-pooled |
| .NET Less Allocations with Hyperlinq | https://github.com/BenjaminAbt/SustainableCode/blob/main/csharp/hyperlinq-tolist |
| .NET Low Allocation Log Message Generation | https://github.com/BenjaminAbt/SustainableCode/blob/main/csharp/log-messages-source-code-generator |
| .NET String Generation | https://github.com/BenjaminAbt/SustainableCode/blob/main/csharp/random-string |
| .NET Struct vs Class | https://github.com/BenjaminAbt/SustainableCode/blob/main/csharp/struct-vs-class |
| .NET Local method hot path | https://github.com/BenjaminAbt/SustainableCode/blob/main/csharp/local-method-hotpath |
| .NET C# 10 String Interpolation | https://github.com/BenjaminAbt/SustainableCode/blob/main/csharp/csharp10-string-interpolation |
| .NET List vs HashSet | https://github.com/BenjaminAbt/SustainableCode/blob/main/csharp/list-vs-hashset |
| .NET In Modifier | https://github.com/BenjaminAbt/SustainableCode/blob/main/csharp/in-parameter |
| .NET Create Empty Collection | https://github.com/BenjaminAbt/SustainableCode/blob/main/csharp/create-empty-collection |
| .NET String ToUpper vs. ToLower | https://github.com/BenjaminAbt/SustainableCode/blob/main/csharp/tolower-vs-toupper |
| .NET Enumerate List vs. IEnumerable | https://github.com/BenjaminAbt/SustainableCode/blob/main/csharp/list-vs-ienumerable-enumerate |
| .NET List Count vs Count() | https://github.com/BenjaminAbt/SustainableCode/blob/main/csharp/list-count-property-vs-count-method |
| .NET DateTime vs. DateTimeOffset - UtcNow vs Now | https://github.com/BenjaminAbt/SustainableCode/blob/main/csharp/datime-now-vs-utcnow |
| .NET Linq Compiled Expressions | https://github.com/BenjaminAbt/SustainableCode/blob/main/csharp/linq-expression-compile |
| .NET Nullable Value Access (Pattern Matching) | https://github.com/BenjaminAbt/SustainableCode/blob/main/csharp/nullable-value-access |
| .NET String Create Value Stringbuilder) | https://github.com/BenjaminAbt/SustainableCode/blob/main/csharp/valuestringbuilder |
| .NET Avoid List Allocations) | https://github.com/BenjaminAbt/SustainableCode/blob/main/csharp/avoid-list-allocations |
| .NET Struct vs Class- Boxing | https://github.com/BenjaminAbt/SustainableCode/blob/main/csharp/struct-vs-class-boxing |
| .NET Condition vs Exception | https://github.com/BenjaminAbt/SustainableCode/blob/main/csharp/condition-vs-exception |
| .NET SHA512 Create | https://github.com/BenjaminAbt/SustainableCode/blob/main/csharp/Sha512-Create-Speed |
| .NET Linq - Any vs Count | https://github.com/BenjaminAbt/SustainableCode/blob/main/csharp/linq-any-vs-count |
| .NET List ConvertAll vs Select-ToList | https://github.com/BenjaminAbt/SustainableCode/blob/main/csharp/list-convertall-vs-select-tolist |
| .NET String Cleanup | https://github.com/BenjaminAbt/SustainableCode/blob/main/csharp/string-cleanup |
| .NET List Empty Return | https://github.com/BenjaminAbt/SustainableCode/blob/main/csharp/list-empty-return |
| .NET Whitespace Remove | https://github.com/BenjaminAbt/SustainableCode/blob/main/csharp/whitespace-remove |
| .NET String Aggressive Inlining | https://github.com/BenjaminAbt/SustainableCode/blob/main/csharp/string-aggressive-inlining |
| .NET String IsUnicode Vectorizing | https://github.com/BenjaminAbt/SustainableCode/blob/main/csharp/string-is-unicode |
| https://github.com/BenjaminAbt/SustainableCode#energy-calculation |
| Readme | https://github.com/BenjaminAbt/SustainableCode#readme-ov-file |
| Activity | https://github.com/BenjaminAbt/SustainableCode/activity |
| 8 forks | https://github.com/BenjaminAbt/SustainableCode/forks |
| Report repository | https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2FBenjaminAbt%2FSustainableCode&report=BenjaminAbt+%28user%29 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |