diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2017-12-01 14:20:48 -0500 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2017-12-13 12:20:28 -0500 |
| commit | 7a20a3f1619db092ac935a247ff06c6e03f20255 (patch) | |
| tree | 3f8a8fa976042f43f7d32a7b66d3782134707b69 /src/rustllvm/RustWrapper.cpp | |
| parent | 77663a677da13757e7aa0b4d1a2bc77612000ab9 (diff) | |
| download | rust-7a20a3f1619db092ac935a247ff06c6e03f20255.tar.gz rust-7a20a3f1619db092ac935a247ff06c6e03f20255.zip | |
change to use an O(1) data structure for looking up point indices
Converting a `RegionElementIndex` to a `Location` is O(n) though could trivially be O(log n), but we don't do it that much anyhow -- just on error and debugging.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
