Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13980106
D16682.id40165.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
422 B
Referenced Files
None
Subscribers
None
D16682.id40165.diff
View Options
diff --git a/src/utils/PhutilProseDifferenceEngine.php b/src/utils/PhutilProseDifferenceEngine.php
--- a/src/utils/PhutilProseDifferenceEngine.php
+++ b/src/utils/PhutilProseDifferenceEngine.php
@@ -22,6 +22,7 @@
$v_parts = $this->splitCorpus($v, $level);
$matrix = id(new PhutilEditDistanceMatrix())
+ ->setMaximumLength(128)
->setSequences($u_parts, $v_parts)
->setComputeString(true);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Oct 20, 8:29 AM (2 w, 5 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6722738
Default Alt Text
D16682.id40165.diff (422 B)
Attached To
Mode
D16682: Make PhutilProseDifferenceEngine degrade on large inputs instead of consuming all RAM in the entire world
Attached
Detach File
Event Timeline
Log In to Comment