[llvm-commits] [PATCH] Add function for computing the edit distance of two arrays.
Kaelyn Uhrain
rikka at google.com
Tue Feb 14 15:39:24 PST 2012
Accomplished by moving the body of StringRef::edit_distance into
a separate function that accepts two ArrayRefs, and making
StringRef::edit_distance a wrapper around the new function.
---
include/llvm/ADT/edit_distance.h | 101 ++++++++++++++++++++++++++++++++++++++
lib/Support/StringRef.cpp | 56 ++-------------------
2 files changed, 106 insertions(+), 51 deletions(-)
create mode 100644 include/llvm/ADT/edit_distance.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-function-for-computing-the-edit-distance-of-two-.patch
Type: text/x-patch
Size: 6340 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120214/a43bab9e/attachment.bin>
More information about the llvm-commits
mailing list