Skip to content

Commit

Permalink
Store Request::params as a slice instead of owning ArrayVec (sere…
Browse files Browse the repository at this point in the history
…nity-rs#2694)

This,
1. shrinks the size of Request, when copied around, as it doesn't have
to store the max capacity at all times
2. shrinks llvm-lines (compile time metric) for my bot in debug from
`1,153,519` to `1,131,480` as no monomorphisation has to be performed
for `MAX_PARAMS`.
  • Loading branch information
GnomedDev committed May 14, 2024
1 parent 98eca60 commit 86be9d9
Show file tree
Hide file tree
Showing 3 changed files with 193 additions and 217 deletions.
Loading

0 comments on commit 86be9d9

Please sign in to comment.