Title: Clippy: the performance parts by evaporei · Pull Request #12 · naomijub/brcode · GitHub
Open Graph Title: Clippy: the performance parts by evaporei · Pull Request #12 · naomijub/brcode
X Title: Clippy: the performance parts by evaporei · Pull Request #12 · naomijub/brcode
Description: Heyyy so I've ran clippy in this project and found out some things that could improve performance, the purely aesthetic ones I've simply not added 🙂 For more info on the fixes: https://rust-lang.github.io/rust-clippy/master/index.html We can also discuss about it, for example, passing things as reference instead of values sometimes avoids unnecessary allocations. Performance edn_from_brcode: time: [29.851 us 30.671 us 31.580 us] both_ways: time: [20.829 us 20.887 us 20.953 us] json_from_brcode: time: [17.675 us 18.076 us 18.563 us] to_brcode: time: [15.078 us 15.726 us 16.501 us] using vec: time: [14.531 us 14.617 us 14.716 us] crc16: time: [3.3358 us 3.3457 us 3.3570 us] parse: time: [13.080 us 13.143 us 13.235 us]
Open Graph Description: Heyyy so I've ran clippy in this project and found out some things that could improve performance, the purely aesthetic ones I've simply not added 🙂 For more info on the fixes: https://rust...
X Description: Heyyy so I've ran clippy in this project and found out some things that could improve performance, the purely aesthetic ones I've simply not added 🙂 For more info on the fixes: http...
Opengraph URL: https://github.com/naomijub/brcode/pull/12
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:7400bfd7-cf5b-8bc2-3b3a-00b15c3580b2 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E15C:31038C:1BD5443:28A8861:6A4BC80D |
| html-safe-nonce | ceb00a9a192e86a9d1e6bfe8cfa82eb76dc43b7bbb5073285509b38ccbb57e2e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMTVDOjMxMDM4QzoxQkQ1NDQzOjI4QTg4NjE6NkE0QkM4MEQiLCJ2aXNpdG9yX2lkIjoiMTE1MzY1ODg4Nzg1MDQxMjA0NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 96e69d3894f59a3b299e64f78120d4fb43f328d3b387cca45458069887e5cfac |
| hovercard-subject-tag | pull_request:486977215 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/naomijub/brcode/pull/12/files |
| twitter:image | https://avatars.githubusercontent.com/u/15306309?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/15306309?s=400&v=4 |
| og:image:alt | Heyyy so I've ran clippy in this project and found out some things that could improve performance, the purely aesthetic ones I've simply not added 🙂 For more info on the fixes: https://rust... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 14aa00ce5bdb34d0eefb5facbffd7de9e144c688d8a93ef8df902d5f94b51dd7 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/naomijub/brcode git https://github.com/naomijub/brcode.git |
| octolytics-dimension-user_id | 14813660 |
| octolytics-dimension-user_login | naomijub |
| octolytics-dimension-repository_id | 294517070 |
| octolytics-dimension-repository_nwo | naomijub/brcode |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 294517070 |
| octolytics-dimension-repository_network_root_nwo | naomijub/brcode |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 58b8f89190447502561829f30862aa0a99d53367 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width