diff options
| author | Ralf Jung <post@ralfj.de> | 2020-09-20 12:08:20 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-20 12:08:20 +0200 |
| commit | 3268e33199c98e5bfb035ea70130ea36af00e714 (patch) | |
| tree | d9ac2bb360e40952559311cf331b286750c1ea03 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs | |
| parent | c12feb35dbe5793d96a47286f93b59ae257d3418 (diff) | |
| parent | f4a7149f499a4b91d296678002f0bce4ded85038 (diff) | |
| download | rust-3268e33199c98e5bfb035ea70130ea36af00e714.tar.gz rust-3268e33199c98e5bfb035ea70130ea36af00e714.zip | |
Rollup merge of #76818 - hbina:dont_compile_regex_all_the_time, r=ecstatic-morse
Don't compile regex at every function call. Use `SyncOnceCell` to only compile it once. I believe this still adds some kind of locking mechanism? Related issue: https://github.com/rust-lang/rust/issues/76817
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions
