]> git.lizzy.rs Git - rust.git/commit
Slash the ast::Stmt type from 104 to 24 bytes.
authorHuon Wilson <dbau.pp+github@gmail.com>
Fri, 5 Dec 2014 09:10:22 +0000 (01:10 -0800)
committerHuon Wilson <dbau.pp+github@gmail.com>
Mon, 29 Dec 2014 12:55:25 +0000 (23:55 +1100)
commit5e5cc6749eb16f2820fe291582ded0b035667612
treea9a5da702c47ff1bf8f9d0436a4452e248cdb2f3
parent06f25b7e99b8e05ba5a90f948a78ab32ea5ec457
Slash the ast::Stmt type from 104 to 24 bytes.

(on platforms with 64-bit pointers.)

The StmtMac variant is rather large and also fairly rare, so let's
optimise the common case.
src/libsyntax/ast.rs
src/libsyntax/ext/expand.rs
src/libsyntax/fold.rs
src/libsyntax/parse/parser.rs
src/libsyntax/print/pprust.rs
src/libsyntax/visit.rs