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
assert! can cause an unexpected amount of code bloat that takes time to compile and fills up binary space to never ever be executed. See what its impact is on tikv.
A good way to start would be to simply convert all asserts to debug_asserts and benchmark, see if it's worth pursuing. Consider doing the same with tikv's raft and prometheus dependencies.
If it seems worth pursing then decide on a case-by-case basis which have the biggest impact and can be converted.
assert!
can cause an unexpected amount of code bloat that takes time to compile and fills up binary space to never ever be executed. See what its impact is on tikv.A good way to start would be to simply convert all
assert
s todebug_asserts
and benchmark, see if it's worth pursuing. Consider doing the same with tikv's raft and prometheus dependencies.If it seems worth pursing then decide on a case-by-case basis which have the biggest impact and can be converted.
https://github.com/dtolnay/cargo-expand can probably help.
The text was updated successfully, but these errors were encountered: