about summary refs log tree commit diff
path: root/library/std/src/sys/unix/process/process_unix.rs
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2021-05-16 21:31:18 -0400
committerMark Rousskov <mark.simulacrum@gmail.com>2021-05-17 09:29:02 -0400
commit80ac15f667c32b1e441cffaa3237cae2990cc152 (patch)
treea86a48b4fa77c0b767b6a70073532b0e9366367a /library/std/src/sys/unix/process/process_unix.rs
parent2a245f40a19c9a60b3be33c959eb5cfb0ad163c6 (diff)
downloadrust-80ac15f667c32b1e441cffaa3237cae2990cc152.tar.gz
rust-80ac15f667c32b1e441cffaa3237cae2990cc152.zip
Optimize default ToString impl
This avoids a zero-length write_str call, which boils down to a zero-length
memmove and ultimately costs quite a few instructions on some workloads.

This is approximately a 0.33% instruction count win on diesel-check.
Diffstat (limited to 'library/std/src/sys/unix/process/process_unix.rs')
0 files changed, 0 insertions, 0 deletions