about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorHanif Bin Ariffin <hanif.ariffin.4326@gmail.com>2020-09-17 10:56:08 +0800
committerHanif Bin Ariffin <hanif.ariffin.4326@gmail.com>2020-09-17 11:03:08 +0800
commitf4a7149f499a4b91d296678002f0bce4ded85038 (patch)
treec852698c0cfae5399c25135f1fc58990f8a3fa0f /src/test/codegen/src-hash-algorithm
parent285fc7d704fcdd7b2a37d475d04d5d955490e000 (diff)
downloadrust-f4a7149f499a4b91d296678002f0bce4ded85038.tar.gz
rust-f4a7149f499a4b91d296678002f0bce4ded85038.zip
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?
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions