Skip to content

Optimize API requests and reduce allocations#56

Open
WeirdPhrog wants to merge 1 commit intorust-app-io:mainfrom
WeirdPhrog:main
Open

Optimize API requests and reduce allocations#56
WeirdPhrog wants to merge 1 commit intorust-app-io:mainfrom
WeirdPhrog:main

Conversation

@WeirdPhrog
Copy link
Contributor

  • refactor StableRequest to reuse common request setup
  • add non-generic Execute overload for requests that don't use response payload
  • remove unnecessary response deserialization to reduce allocations
  • keep existing request flow and pooling behavior intact
  • improve null-safety in several API response handlers

- refactor StableRequest to reuse common request setup
- add non-generic Execute overload for requests that don't use response payload
- remove unnecessary response deserialization to reduce allocations
- keep existing request flow and pooling behavior intact
- improve null-safety in several API response handlers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant