Skip to content

Commit

Permalink
Reduce the size of ResponseHeader and RequestHeader (#1826)
Browse files Browse the repository at this point in the history
* Reduce sizeof ResponseHeader and RequestHeader

+ Reduce ResponseHeader from 320 to 312 bytes
+ Reduce RequestHeader from 360 to 352 bytes
+ In the benchmark tests, although there is no significant performance improvement, it theoretically reduces memory usage by 2.2% to 2.5%.

* Remove redundant comment
  • Loading branch information
ksw2000 authored Aug 20, 2024
1 parent a1db411 commit 9df444b
Show file tree
Hide file tree
Showing 3 changed files with 106 additions and 99 deletions.
Loading

0 comments on commit 9df444b

Please sign in to comment.