about summary refs log tree commit diff
path: root/src/libstd/thread
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-06-10 06:50:12 +0000
committerbors <bors@rust-lang.org>2017-06-10 06:50:12 +0000
commite1480499b484d142dfa704ae20bd33eae518c1d0 (patch)
tree4dbb4b4cbf2eb4144893c30d8dff7b73519e0e12 /src/libstd/thread
parent60ac9f467cbbf8481a6f09e3e90e470dec85cf65 (diff)
parent3d9ebf2916f96c6934a84a5abc2067145e062e75 (diff)
downloadrust-e1480499b484d142dfa704ae20bd33eae518c1d0.tar.gz
rust-e1480499b484d142dfa704ae20bd33eae518c1d0.zip
Auto merge of #42533 - Mark-Simulacrum:macro-parse-speed-small, r=jseyfried
Speed up expansion

This reduces duplication, thereby increasing expansion speed. Based on tests with rust-uinput, this produces a 29x performance win (440 seconds to 15 seconds). I want to land this first, since it's a minimal patch, but with more changes to the macro parsing I can get down to 12 seconds locally.

There is one FIXME added to the code that I'll keep for now since changing it will spread outward and increase the patch size, I think.

Fixes #37074.

r? @jseyfried
cc @oberien
Diffstat (limited to 'src/libstd/thread')
0 files changed, 0 insertions, 0 deletions