From 3afa83082742724d03e16ecfd9eeb14eb3178acf Mon Sep 17 00:00:00 2001 From: Max Bachmann Date: Sun, 24 Jul 2022 21:19:15 +0200 Subject: [PATCH] add hirschbergs algorithm to editops --- CHANGELOG.md | 6 ++++++ extern/jarowinkler-cpp | 2 +- extern/rapidfuzz-cpp | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b14a7cf..04e0efa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ ## Changelog +### [2.4.0] - 2022- +#### Performance +- improve performance and memory usage of `Levenshtein.editops` + - memory usage is reduced from O(NM) to O(N) + - performance is improved for long sequences + ### [2.3.0] - 2022-07-23 #### Added - add `as_matching_blocks` to `Editops`/`Opcodes` diff --git a/extern/jarowinkler-cpp b/extern/jarowinkler-cpp index 655c259..cea663e 160000 --- a/extern/jarowinkler-cpp +++ b/extern/jarowinkler-cpp @@ -1 +1 @@ -Subproject commit 655c25926250f6a73a9380a862a603c70e016aec +Subproject commit cea663e7db48bee9e6fc6d6d17f4927d46db1840 diff --git a/extern/rapidfuzz-cpp b/extern/rapidfuzz-cpp index 1303f3d..da12379 160000 --- a/extern/rapidfuzz-cpp +++ b/extern/rapidfuzz-cpp @@ -1 +1 @@ -Subproject commit 1303f3de46ca3d8de7e8e327f1f48e0859573318 +Subproject commit da12379bab8bf991e6d7d8eaf6a7fa4c906a60f8