Title: perf: optimize encoding and decoding flows · Issue #2894 · evstack/ev-node · GitHub
Open Graph Title: perf: optimize encoding and decoding flows · Issue #2894 · evstack/ev-node
X Title: perf: optimize encoding and decoding flows · Issue #2894 · evstack/ev-node
Description: in this pr: #2836, i noticed in the execution flow we decode once and encode twice. We do this sort of thing throughout the codebase. It is okay but as we want to be dealing with lower and lower block times we should try to optimise this...
Open Graph Description: in this pr: #2836, i noticed in the execution flow we decode once and encode twice. We do this sort of thing throughout the codebase. It is okay but as we want to be dealing with lower and lower bl...
X Description: in this pr: #2836, i noticed in the execution flow we decode once and encode twice. We do this sort of thing throughout the codebase. It is okay but as we want to be dealing with lower and lower bl...
Opengraph URL: https://github.com/evstack/ev-node/issues/2894
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"perf: optimize encoding and decoding flows","articleBody":"in this pr: https://github.com/evstack/ev-node/pull/2836, i noticed in the execution flow we decode once and encode twice. We do this sort of thing throughout the codebase. It is okay but as we want to be dealing with lower and lower block times we should try to optimise this flow and others. \n\nin this flow https://github.com/evstack/ev-node/pull/2836#discussion_r2569278708, i believe we can decode once and do no encoding if we changed the flow of the code. ","author":{"url":"https://github.com/tac0turtle","@type":"Person","name":"tac0turtle"},"datePublished":"2025-11-28T11:28:30.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/2894/ev-node/issues/2894"}
| 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:5c256f14-a282-79ed-55df-cba7b39e9117 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8AC8:DA408:36A17F8:4ADD6F0:6980B450 |
| html-safe-nonce | 3cf674844a2254ba55ac9734840f070412c5523ea7c25f01ae94e942faae17d2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QUM4OkRBNDA4OjM2QTE3Rjg6NEFERDZGMDo2OTgwQjQ1MCIsInZpc2l0b3JfaWQiOiIyODI4NzQ3Mzg5NDE2ODEzNjQ4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c1fd057504cd52485c8f8830c8445d0bd3a056c1da9922ee2b2b6d80e0ca4659 |
| hovercard-subject-tag | issue:3674586091 |
| 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/evstack/ev-node/2894/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3059d848e2a90f5aa3e02a57add888a8391569341eb3d512cd57bb128b77d784/evstack/ev-node/issues/2894 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3059d848e2a90f5aa3e02a57add888a8391569341eb3d512cd57bb128b77d784/evstack/ev-node/issues/2894 |
| og:image:alt | in this pr: #2836, i noticed in the execution flow we decode once and encode twice. We do this sort of thing throughout the codebase. It is okay but as we want to be dealing with lower and lower bl... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tac0turtle |
| hostname | github.com |
| expected-hostname | github.com |
| None | d5070894b88d5cf03785c677c23c659b0431dfc2e6df2f35e35f2e0de9ceb94a |
| turbo-cache-control | no-preview |
| go-import | github.com/evstack/ev-node git https://github.com/evstack/ev-node.git |
| octolytics-dimension-user_id | 120482652 |
| octolytics-dimension-user_login | evstack |
| octolytics-dimension-repository_id | 335571729 |
| octolytics-dimension-repository_nwo | evstack/ev-node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 335571729 |
| octolytics-dimension-repository_network_root_nwo | evstack/ev-node |
| 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 | 821a5a2664fd1c2441fb3caded98e0f525bf913f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width