You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
box warp routes to avoid super heavy types.
Performance impact should be okay, since these heavy types
are not cache friendly.
This reduces type complexity significantly, but some really long type chains remain.
I've identified two, but they may be more
1. Boxed or chains
2. Response type chains
We can replace the boxed or chains with a Vec, since they all contain the same
box type now. Such a type doesn't seem to exist in warp yet.
`cargo install --path .`
Compile time before
4m49s
Compile time now
4m14s
Tool to list heavy functions:
`
CARGO_PROFILE_RELEASE_LTO=fat cargo llvm-lines --release --bin quickwit > llvm_lines
`
Size down from 32MB to 22MB
addresses #5539
0 commit comments