Skip to content

Commit 5654bad

Browse files
committed
📄 Updates for version v3.1.0 release
1 parent 96a4aa0 commit 5654bad

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ It is organized by version and release date followed by a list of Enhancements,
44
<br /><br />
55

66

7-
## Version 3.0.3-beta
8-
**Released:** TBD<br />
9-
**Tag:** v3.0.3
7+
## Version 3.1.0 (Latest)
8+
**Released:** April 22, 2025<br />
9+
**Tag:** v3.1.0
1010

1111
### Enhancements
1212

@@ -18,10 +18,16 @@ It is organized by version and release date followed by a list of Enhancements,
1818

1919
- Continued work on type hinting improvements and resolving 'mypy' errors for better code quality and maintainability.
2020

21+
- Optimized Levenshtein distance matrix initialization in calculations() by replacing a Python list-of-lists with a Cython-typed NumPy array (cdef int[:, :]). This reduces memory overhead and significantly speeds up execution on typical workloads, especially for large datasets or repeated function calls. It improves scalability, responsiveness, and memory efficiency.
22+
23+
- Refactored internal variable typing in calculations() for clarity and consistency:
24+
- Loop indices and size variables now use Py_ssize_t, matching Python's internal conventions.
25+
- Grouped and explicitly typed intermediate variables like inserted_words, deleted_words, and substituted_words for improved readability and static checks. This enhances code quality, reduces reliance on dynamic typing in performance-critical paths, and prepares the function for future optimizations.
26+
2127

2228
<br />
2329

24-
## Version 3.0.2 (Latest)
30+
## Version 3.0.2
2531
**Released:** April 3, 2025<br />
2632
**Tag:** v3.0.2
2733

0 commit comments

Comments
 (0)