]> git.lizzy.rs Git - rust.git/commit
Auto merge of #37318 - nnethercote:html5ever-more, r=nrc,eddyb
authorbors <bors@rust-lang.org>
Sat, 22 Oct 2016 20:09:24 +0000 (13:09 -0700)
committerGitHub <noreply@github.com>
Sat, 22 Oct 2016 20:09:24 +0000 (13:09 -0700)
commita117bba12535b7632a9fa08072f26e19aa5c0a94
tree8a4127eef23b35daf1f76256257cacde94ef792a
parent0eb4d46d03ce486a98c3ed24f9aa0406ff0b2a43
parentb817cf8b5730912c558aff811cd34fc3d3fa8637
Auto merge of #37318 - nnethercote:html5ever-more, r=nrc,eddyb

Avoid some allocations in the macro parser

These three commits reduce the number of heap allocations done when compiling rustc-benchmarks/html5ever-2016-08-25 by 20%, from 16.5M to 13.3M. This speeds up (debug) compilation of it with a stage1 compiler by about 7%.
src/libsyntax/ext/tt/macro_rules.rs