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 authored and mkrasnitski committed Dec 8, 2024
1 parent 3b57e18 commit 757c48d
Show file tree
Hide file tree
Showing 3 changed files with 201 additions and 225 deletions.
Loading

0 comments on commit 757c48d

Please sign in to comment.