Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove #[inline(always)] from CompressorOxide::default() (#125)
With #[inline(always)] the body of default() will be inlined into external crates but the body will still contain calls to the LZOxide::new(), ParamsOxide::new(DEFAULT_FLAGS), Box::default() and DictOxide::new(DEFAULT_FLAGS). This ends up causing a copy of the large LZOxide to end up on the stack when used with Box::default as seen in: rust-lang/rust#101814
- Loading branch information