Skip to content

Commit

Permalink
Correcting code organization while chasing a bug.
Browse files Browse the repository at this point in the history
- Additional tests for "DoS" cases.
- Limit stack overflow in levenshtein calculation (max 500 graphemes)
- Increase number of tokens per phrase to 32 bits to store documents.
- Make partial_cmp fail explicitly in case of NaN.
  • Loading branch information
Tomasz bla Fortuna committed Nov 5, 2022
1 parent 83dce80 commit 982fe9f
Show file tree
Hide file tree
Showing 7 changed files with 308 additions and 74 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Pipfile.lock -diff
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "fuzzdex"
version = "0.6.1"
version = "0.7.0"
authors = ["Tomasz bla Fortuna <bla@thera.be>"]
edition = "2021"
license = "MIT"
Expand Down
4 changes: 3 additions & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ name = "pypi"

[packages]
maturin = "==0.12.20"
fuzzdex = "*"
ipython = "*"

[dev-packages]
pytest = "==7.1.2"
ipython = "*"

[requires]
python_version = "3.9"
python_version = "3"
215 changes: 177 additions & 38 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 982fe9f

Please sign in to comment.