Skip to content

Commit 4ffd751

Browse files
committed
unused function
1 parent d7ed17e commit 4ffd751

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

lib/Diff/SequenceMatcher.php

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -658,20 +658,6 @@ private function quickRatio()
658658
$this->calculateRatio($matches, count ($this->a) + count ($this->b));
659659
}
660660

661-
/**
662-
* Return an upper bound ratio really quickly for the similarity of the strings.
663-
* This is quicker to compute than Ratio() and quickRatio().
664-
*
665-
* @return float The calculated ratio.
666-
*/
667-
private function realquickRatio()
668-
{
669-
$aLength = count ($this->a);
670-
$bLength = count ($this->b);
671-
672-
return $this->calculateRatio(min($aLength, $bLength), $aLength + $bLength);
673-
}
674-
675661
/**
676662
* Helper function for calculating the ratio to measure similarity for the strings.
677663
* The ratio is defined as being 2 * (number of matches / total length)

0 commit comments

Comments
 (0)