about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2015-11-10 17:11:39 -0500
committerNiko Matsakis <niko@alum.mit.edu>2015-11-10 22:18:06 -0500
commit0471b3247d78dd81bc0de7a87b8cb74debadafcc (patch)
tree877970cb10b182a2be89a739e76a7f95a9b20d64 /src/rustllvm/RustWrapper.cpp
parent61884e5543a68e7b99e33fc40afef1515b1a216d (diff)
downloadrust-0471b3247d78dd81bc0de7a87b8cb74debadafcc.tar.gz
rust-0471b3247d78dd81bc0de7a87b8cb74debadafcc.zip
Reorganize match construction to be O(n) instead of O(n^2). Whereas
before we iterated over the test and each outcome thereof, and then
checked processed every candidate against this outcome, we now organize
the walk differently. Instead, we visit each candidate and say "Here is
the test being performed. Figure out the resulting candidates for each
possible outcome and add yourself into the appropriate places."
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions