Skip to content

Conversation

nikic
Copy link
Member

@nikic nikic commented Oct 6, 2020

As noted on https://bugs.php.net/bug.php?id=80073, I don't think having this limitation makes sense. The similar_text() function has much worse asymptotic complexity than levenshtein() and does not enforce such a limitation. levenshtein() does have fairly high memory requirements, but they are a fixed factor of the string length (and subject to memory limit).

@nikic
Copy link
Member Author

nikic commented Oct 9, 2020

Merged as 6a8c094.

@nikic nikic closed this Oct 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant