diff options
| author | bors <bors@rust-lang.org> | 2019-03-31 23:50:46 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-03-31 23:50:46 +0000 |
| commit | eab3eb38df8dca99110b6149b3a15deeb4ef0413 (patch) | |
| tree | fb19dec596c81c4854d95386a5868857bbda9081 /src/rustllvm/RustWrapper.cpp | |
| parent | e3428db7c2b1eeb35096e0bf37672397977ff030 (diff) | |
| parent | 606f3158bf7dd2708b1efdde2e6de34f8eaebd7b (diff) | |
| download | rust-eab3eb38df8dca99110b6149b3a15deeb4ef0413.tar.gz rust-eab3eb38df8dca99110b6149b3a15deeb4ef0413.zip | |
Auto merge of #59507 - nnethercote:indent-with-SPACES, r=petrochenkov
Optimize indentation in the pretty printer. Currently the pretty-printer calls `write!` for every space of indentation. On some workloads the indentation level can exceed 100, and a faster implementation reduces instruction counts by up to 7% on a few workloads.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
