Merged
Conversation
9b86af6 to
1b6c57b
Compare
eddyb
reviewed
Jun 8, 2017
src/libsyntax/ext/tt/macro_parser.rs
Outdated
This reduces duplication, thereby increasing expansion speed.
1b6c57b to
3d9ebf2
Compare
Member
Author
|
Pushed a theoretical fix for the run-pass-fulldeps test. I think it ran locally, but not sure. The full deps tests always get me. |
Contributor
Contributor
|
Excellent! |
Collaborator
|
📌 Commit 3d9ebf2 has been approved by |
Collaborator
|
⌛ Testing commit 3d9ebf2 with merge d9d8f66... |
Collaborator
|
💔 Test failed - status-appveyor |
Member
|
@bors retry Seems like a spurious issue. |
Collaborator
bors
added a commit
that referenced
this pull request
Jun 10, 2017
…yfried 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
Collaborator
|
☀️ Test successful - status-appveyor, status-travis |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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