about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorTyler Mandry <tmandry@gmail.com>2020-01-22 16:02:14 -0800
committerGitHub <noreply@github.com>2020-01-22 16:02:14 -0800
commitf9b0561031b5ddeca0985c1551c4076243efced1 (patch)
treed816e7c603945b6e5f05402a6e5f0f43a30e6823 /src/test/debuginfo/enum-thinlto.rs
parentbd090c9e8a3fe43174b4935d9c45d743313074f7 (diff)
parentdc97181a0966cd1686a70ce06849a19c196f72eb (diff)
downloadrust-f9b0561031b5ddeca0985c1551c4076243efced1.tar.gz
rust-f9b0561031b5ddeca0985c1551c4076243efced1.zip
Rollup merge of #68409 - sinkuu:temp_path, r=Mark-Simulacrum
Micro-optimize OutputFilenames

For example, its methods consume 6% of time during debug-compiling a `warp` example:
![Screenshot (debug-compiling a `warp` example)](https://user-images.githubusercontent.com/7091080/72780288-d74f1580-3c61-11ea-953b-34e59ca682f9.png)

This PR optimize them a bit by using `PathBuf::set_extension` instead of `Path::with_extension`, to avoid cloning `PathBuf` excessively.
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions