diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2024-07-25 18:38:28 +0000 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2024-07-29 18:40:58 +0000 |
| commit | 6d9ee6ee26c296d9361d5f0fb479b2462687fe4e (patch) | |
| tree | ee792787028161e6d1554df8dc7ed38e951081a6 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 4db3d12e6f395babed53dee1d209a5c8699a5ae6 (diff) | |
| download | rust-6d9ee6ee26c296d9361d5f0fb479b2462687fe4e.tar.gz rust-6d9ee6ee26c296d9361d5f0fb479b2462687fe4e.zip | |
Change output normalization logic to be linear against size of output
Scan strings to be normalized for printing in a linear scan and collect the resulting `String` only once. Use a binary search when looking for chars to be replaced, instead of a `HashMap::get`.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
