File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -658,20 +658,6 @@ private function quickRatio()
658
658
$ this ->calculateRatio ($ matches , count ($ this ->a ) + count ($ this ->b ));
659
659
}
660
660
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
-
675
661
/**
676
662
* Helper function for calculating the ratio to measure similarity for the strings.
677
663
* The ratio is defined as being 2 * (number of matches / total length)
You can’t perform that action at this time.
0 commit comments