-
Notifications
You must be signed in to change notification settings - Fork 52
Closed
Labels
Help WantedI need outside help for this to happen.I need outside help for this to happen.
Description
I've recently update to version 1.0.0 and found tinyvec as the cause of some extremely long build times (Release only) (0.4.1 = 10 seconds, 1.0.0 = 1 hours)
seems to have something to do with code using ArrayVec the larger the ArrayVec the longer the build time. It seems to also depend on the size of the object as well. I can't post all the code here because it very large, I'll try cut out a minimal example to demonstrate.
MAX_POSITIONS = 200 pub fn new() -> Self { PositionUpdateArray(ArrayVec::<[PositionUpdate; MAX_POSITIONS]>::from_array_len( [PositionUpdate::DEFAULT; MAX_POSITIONS], 0, )) }
Other useful information:
MacOSX
rustc 1.48.0-nightly (397b390cc 2020-08-27)
Debug mode is unaffected, only release mode
Metadata
Metadata
Assignees
Labels
Help WantedI need outside help for this to happen.I need outside help for this to happen.