Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14006620
D16682.id40163.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.id40163.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
Tue, Oct 29, 2:22 PM (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6722738
Default Alt Text
D16682.id40163.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