Skip to content

Commit

Permalink
upgrade rapidfuzz-cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
maxbachmann committed Jan 28, 2024
1 parent b6e1cd6 commit 35e28a0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ elseif("${Python_INTERPRETER_ID}" STREQUAL "PyPy")
message(STATUS "Corrected SOABI: ${Python_SOABI}")
endif()

find_package(rapidfuzz 2.0.0 QUIET)
find_package(rapidfuzz 3.0.0 QUIET)
if (rapidfuzz_FOUND)
message(STATUS "Using system supplied version of rapidfuzz-cpp")
else()
Expand Down
5 changes: 5 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
## Changelog

### v0.24.0
#### Changed
- upgrade ``rapidfuzz-cpp`` to ``v3.0.0``
- drop support for Python 3.7

### v0.23.0
#### Changed
- added keyword argument `pad` to Hamming distance. This controls whether sequences of different
Expand Down
2 changes: 1 addition & 1 deletion extern/rapidfuzz-cpp
Submodule rapidfuzz-cpp updated 72 files
+31 −30 .github/workflows/cmake.yml
+3 −1 .gitignore
+38 −0 CHANGELOG.md
+1 −1 CMakeLists.txt
+8 −8 README.md
+113 −0 bench/bench-jarowinkler.cpp
+65 −2 bench/bench-lcs.cpp
+1 −1 bench/bench-levenshtein.cpp
+2,146 −1,062 extras/rapidfuzz_amalgamated.hpp
+6 −6 fuzzing/fuzz_damerau_levenshtein_distance.cpp
+7 −2 fuzzing/fuzz_indel_distance.cpp
+2 −2 fuzzing/fuzz_indel_editops.cpp
+51 −0 fuzzing/fuzz_jaro_similarity.cpp
+2 −2 fuzzing/fuzz_lcs_similarity.cpp
+15 −10 fuzzing/fuzz_levenshtein_distance.cpp
+4 −3 fuzzing/fuzz_levenshtein_editops.cpp
+6 −6 fuzzing/fuzz_osa_distance.cpp
+4 −5 rapidfuzz/details/GrowingHashmap.hpp
+2 −5 rapidfuzz/details/Matrix.hpp
+8 −12 rapidfuzz/details/PatternMatchVector.hpp
+55 −15 rapidfuzz/details/Range.hpp
+6 −8 rapidfuzz/details/SplittedSentenceView.hpp
+34 −24 rapidfuzz/details/common.hpp
+6 −8 rapidfuzz/details/common_impl.hpp
+23 −23 rapidfuzz/details/distance.hpp
+28 −18 rapidfuzz/details/intrinsics.hpp
+213 −29 rapidfuzz/details/simd_avx2.hpp
+151 −28 rapidfuzz/details/simd_sse2.hpp
+0 −2 rapidfuzz/details/type_traits.hpp
+3 −6 rapidfuzz/details/types.hpp
+15 −16 rapidfuzz/distance/DamerauLevenshtein.hpp
+20 −17 rapidfuzz/distance/DamerauLevenshtein_impl.hpp
+17 −19 rapidfuzz/distance/Hamming.hpp
+16 −14 rapidfuzz/distance/Hamming_impl.hpp
+28 −27 rapidfuzz/distance/Indel.hpp
+23 −22 rapidfuzz/distance/Indel_impl.hpp
+134 −4 rapidfuzz/distance/Jaro.hpp
+95 −4 rapidfuzz/distance/JaroWinkler.hpp
+15 −15 rapidfuzz/distance/JaroWinkler_impl.hpp
+438 −52 rapidfuzz/distance/Jaro_impl.hpp
+25 −26 rapidfuzz/distance/LCSseq.hpp
+180 −79 rapidfuzz/distance/LCSseq_impl.hpp
+53 −47 rapidfuzz/distance/Levenshtein.hpp
+266 −236 rapidfuzz/distance/Levenshtein_impl.hpp
+37 −33 rapidfuzz/distance/OSA.hpp
+30 −29 rapidfuzz/distance/OSA_impl.hpp
+16 −16 rapidfuzz/distance/Postfix.hpp
+6 −6 rapidfuzz/distance/Postfix_impl.hpp
+16 −17 rapidfuzz/distance/Prefix.hpp
+6 −6 rapidfuzz/distance/Prefix_impl.hpp
+18 −20 rapidfuzz/fuzz.hpp
+86 −77 rapidfuzz/fuzz_impl.hpp
+19 −20 rapidfuzz_reference/DamerauLevenshtein.hpp
+6 −7 rapidfuzz_reference/Hamming.hpp
+4 −4 rapidfuzz_reference/Indel.hpp
+0 −5 rapidfuzz_reference/Jaro.hpp
+3 −3 rapidfuzz_reference/JaroWinkler.hpp
+6 −9 rapidfuzz_reference/LCSseq.hpp
+20 −22 rapidfuzz_reference/Levenshtein.hpp
+16 −18 rapidfuzz_reference/OSA.hpp
+3 −5 rapidfuzz_reference/common.hpp
+1 −1 test/CMakeLists.txt
+69 −0 test/common.hpp
+34 −26 test/distance/tests-DamerauLevenshtein.cpp
+33 −15 test/distance/tests-Hamming.cpp
+74 −22 test/distance/tests-Indel.cpp
+195 −25 test/distance/tests-Jaro.cpp
+137 −16 test/distance/tests-JaroWinkler.cpp
+42 −32 test/distance/tests-LCSseq.cpp
+30 −28 test/distance/tests-Levenshtein.cpp
+18 −21 test/distance/tests-OSA.cpp
+2 −0 test/tests-fuzz.cpp

0 comments on commit 35e28a0

Please sign in to comment.