about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorklensy <klensy@users.noreply.github.com>2024-01-16 14:45:22 +0300
committerklensy <klensy@users.noreply.github.com>2024-02-17 12:29:05 +0300
commit12f9de7d0e1502a0767c784ac717bce033b6ae65 (patch)
tree507eb1775e0c1ffe697390e2d06ca6526e8132d5 /compiler/rustc_interface/src
parent4316d0c6252cb1f833e582dfa68adb98efd5ddfb (diff)
downloadrust-12f9de7d0e1502a0767c784ac717bce033b6ae65.tar.gz
rust-12f9de7d0e1502a0767c784ac717bce033b6ae65.zip
tidy: wrap regexes with lazy_static
yes, once_cell better, but ...

this reduces from

==31349== Total:     1,365,199,543 bytes in 4,774,213 blocks
==31349== At t-gmax: 10,975,708 bytes in 66,093 blocks
==31349== At t-end:  2,880,947 bytes in 12,332 blocks
==31349== Reads:     5,210,008,956 bytes
==31349== Writes:    1,280,920,127 bytes

to

==47796== Total:     821,467,407 bytes in 3,955,595 blocks
==47796== At t-gmax: 10,976,209 bytes in 66,100 blocks
==47796== At t-end:  2,944,016 bytes in 12,490 blocks
==47796== Reads:     4,788,959,023 bytes
==47796== Writes:    975,493,639 bytes

miropt-test-tools: remove regex usage

this removes regex usage and slightly refactors ext stripping in one case
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions