| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2016-05-12 | Improve derived implementations for enums with lots of fieldless variants | Björn Steinbrink | -0/+1 | |
| A number of trait methods like PartialEq::eq or Hash::hash don't actually need a distinct arm for each variant, because the code within the arm only depends on the number and types of the fields in the variants. We can easily exploit this fact to create less and better code for enums with multiple variants that have no fields at all, the extreme case being C-like enums. For nickel.rs and its by now infamous 800 variant enum, this reduces optimized compile times by 25% and non-optimized compile times by 40%. Also peak memory usage is down by almost 40% (310MB down to 190MB). To be fair, most other crates don't benefit nearly as much, because they don't have as huge enums. The crates in the Rust distribution that I measured saw basically no change in compile times (I only tried optimized builds) and only 1-2% reduction in peak memory usage. | ||||
| 2016-02-23 | Some refactoring in deriving/debug.rs | Vadim Petrochenkov | -8/+3 | |
| 2016-02-22 | Fix #[derive] for empty structs with braces | Vadim Petrochenkov | -3/+8 | |
| 2016-02-11 | Remove some unnecessary indirection from AST structures | Vadim Petrochenkov | -2/+2 | |
| 2016-02-11 | [breaking-change] don't glob export ast::StrStyle variants | Oliver 'ker' Schneider | -3/+2 | |
| 2016-02-11 | [breaking-change] don't glob export ast::Mutablity variants | Oliver 'ker' Schneider | -1/+1 | |
| 2016-02-11 | [breaking-change] don't pub export ast::Stmt_ variants | Oliver Schneider | -1/+1 | |
| 2016-02-11 | [breaking-change] don't pub export ast::Lit_ variants | Oliver Schneider | -3/+3 | |
| 2016-02-11 | [breaking-change] don't glob export ast::Decl_ variants | Oliver Schneider | -1/+1 | |
| 2016-01-22 | Extended save-analysis to support generated code, alterned some spans in ↵ | Daniel Campbell | -3/+3 | |
| format_args! and derive to maintain compatability | ||||
| 2015-12-15 | Move built-in syntax extensions to a separate crate | Seo Sanghyeon | -0/+156 | |
