about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2025-07-29 20:19:51 +1000
committerGitHub <noreply@github.com>2025-07-29 20:19:51 +1000
commitdf7da14690dfb34141212d964dcc2e267f86fdd1 (patch)
treee922a003187c82f0ec5250a49c32e7d24f8e332f /compiler/rustc_mir_transform/src
parent4bfbd80babd7186598afae348023580c06a28109 (diff)
parent5185a665a977dd6b57c76ffaaa8becd57e569c6f (diff)
downloadrust-df7da14690dfb34141212d964dcc2e267f86fdd1.tar.gz
rust-df7da14690dfb34141212d964dcc2e267f86fdd1.zip
Rollup merge of #144511 - lolbinarycat:tidy-extra-checks-opt, r=Kobzol
tidy: increase performance of auto extra checks feature

Removes the repeated calls to git diff.

Halves the overhead of the tidy extra checks feature from 0.1 seconds to 0.05 on my machine, but probably will be more significant on systems on slow disks or less memory for i/o cache.

r? ``@Kobzol``
Diffstat (limited to 'compiler/rustc_mir_transform/src')
0 files changed, 0 insertions, 0 deletions