-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Removed most instances of vec!(..) and replaced them with vec![..]s #37476
Commits on Oct 28, 2016
-
On 64-bit this reduces the size of `Expr_` from 144 to 64 bytes, and reduces the size of `Expr` from 176 to 96 bytes.
Configuration menu - View commit details
-
Copy full SHA for a920e35 - Browse repository at this point
Copy the full SHA a920e35View commit details -
Configuration menu - View commit details
-
Copy full SHA for c751c08 - Browse repository at this point
Copy the full SHA c751c08View commit details
Commits on Oct 29, 2016
-
Changed all empty vec!()s to use square brackets
Most of the Rust community agrees that the vec! macro is more clear when called using square brackets [] instead of regular brackets (). Most of these ocurrences are from before macros allowed using different types of brackets.
Configuration menu - View commit details
-
Copy full SHA for 4e46d31 - Browse repository at this point
Copy the full SHA 4e46d31View commit details -
Removed every last vec!(..) from Rust. Yay.
These are all legacies from before the clearer vec![] was possible to write. They are now all gone. This would be a perfect time to write a lint for ocurrences of vec!().
Configuration menu - View commit details
-
Copy full SHA for 2de033b - Browse repository at this point
Copy the full SHA 2de033bView commit details
Commits on Oct 30, 2016
-
Reverted vec![] change in pretty print test
Sadly it looks like pretty printing still wants vec![]s to be vec!()s :( This is something that should be fixed at another time.
Configuration menu - View commit details
-
Copy full SHA for 47f8539 - Browse repository at this point
Copy the full SHA 47f8539View commit details -
Configuration menu - View commit details
-
Copy full SHA for bdb399d - Browse repository at this point
Copy the full SHA bdb399dView commit details -
Auto merge of rust-lang#37445 - nnethercote:shrink-Expr_, r=eddyb
Shrink Expr_::ExprInlineAsm. On 64-bit this reduces the size of `Expr_` from 144 to 64 bytes, and reduces the size of `Expr` from 176 to 96 bytes. For the workload in rust-lang#36799 this reduces the RSS for the "lowering ast -> hir" phase and all subsequent phases by 50 MiB, which reduces the peak RSS for that workload by about 1%. Not huge, but it's a very easy improvement. r? @eddyb
Configuration menu - View commit details
-
Copy full SHA for f5a702d - Browse repository at this point
Copy the full SHA f5a702dView commit details -
Configuration menu - View commit details
-
Copy full SHA for abe7c18 - Browse repository at this point
Copy the full SHA abe7c18View commit details -
Auto merge of rust-lang#37459 - Mark-Simulacrum:closure-ice, r=eddyb
Fix ICE when attempting to print closure generics Fixes rust-lang#36622. r? @eddyb or @arielb1
Configuration menu - View commit details
-
Copy full SHA for ea20ab1 - Browse repository at this point
Copy the full SHA ea20ab1View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2a2763 - Browse repository at this point
Copy the full SHA a2a2763View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd1ce91 - Browse repository at this point
Copy the full SHA bd1ce91View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ef9194 - Browse repository at this point
Copy the full SHA 9ef9194View commit details
Commits on Oct 31, 2016
-
Auto merge of rust-lang#37460 - nrc:save-imports, r=eddyb
save-analysis: change imports to carry a ref id rather than their own… … node id To make jump to def for imports work r? @eddyb
Configuration menu - View commit details
-
Copy full SHA for bfc9b29 - Browse repository at this point
Copy the full SHA bfc9b29View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ec0b3a - Browse repository at this point
Copy the full SHA 8ec0b3aView commit details -
Auto merge of rust-lang#37489 - nagisa:unnecessary-clone, r=eddyb
Do not clone Mir unnecessarily r? @eddyb
Configuration menu - View commit details
-
Copy full SHA for 8f1fc86 - Browse repository at this point
Copy the full SHA 8f1fc86View commit details -
Auto merge of rust-lang#37439 - michaelwoerister:remove-sha256, r=ale…
…xcrichton Replace all uses of SHA-256 with BLAKE2b. Removes the SHA-256 implementation and replaces all uses of it with BLAKE2b, which we already use for debuginfo type guids and incremental compilation hashes. It doesn't make much sense to have two different cryptographic hash implementations in the compiler and Blake has a few advantages over SHA-2 (computationally less expensive, hashes of up to 512 bits).
Configuration menu - View commit details
-
Copy full SHA for 4497196 - Browse repository at this point
Copy the full SHA 4497196View commit details -
Changed all empty vec!()s to use square brackets
Most of the Rust community agrees that the vec! macro is more clear when called using square brackets [] instead of regular brackets (). Most of these ocurrences are from before macros allowed using different types of brackets.
Configuration menu - View commit details
-
Copy full SHA for 25aa44c - Browse repository at this point
Copy the full SHA 25aa44cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 62b29e9 - Browse repository at this point
Copy the full SHA 62b29e9View commit details -
Merge branch 'proper-vec-brackets' of github.com:iirelu/rust into pro…
…per-vec-brackets
Configuration menu - View commit details
-
Copy full SHA for e3edd73 - Browse repository at this point
Copy the full SHA e3edd73View commit details