about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorTamir Duberstein <tamird@google.com>2021-03-26 10:39:42 -0400
committerTamir Duberstein <tamird@google.com>2021-06-06 08:06:56 -0400
commit977903bb1135e22dc7c33aee0096c383f93aa719 (patch)
tree4efe1a16a6db0b634b576246898dcee3d831c8da /compiler/rustc_codegen_llvm/src/llvm_util.rs
parent38013e708eb6ec5abe9992078857b147ff3b58d5 (diff)
downloadrust-977903bb1135e22dc7c33aee0096c383f93aa719.tar.gz
rust-977903bb1135e22dc7c33aee0096c383f93aa719.zip
String::remove_matches O(n^2) -> O(n)
Copy only non-matching bytes.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions