ridic 0.6.5 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ridic.rb +11 -11
- data/lib/ridic/version.rb +1 -1
- metadata +1 -1
data/lib/ridic.rb
CHANGED
@@ -65,21 +65,21 @@ module RiDic
|
|
65
65
|
|
66
66
|
# Benchmarking (disabled by default)
|
67
67
|
|
68
|
-
Benchmark.bmbm do |x|
|
68
|
+
# Benchmark.bmbm do |x|
|
69
69
|
|
70
|
-
|
71
|
-
|
72
|
-
|
70
|
+
# x.report('edge case stem_match') do
|
71
|
+
# 100.times { RiDic.stem_match("playingtasticallymajorpainisticyodudehahaha") }
|
72
|
+
# end
|
73
73
|
|
74
|
-
|
75
|
-
|
76
|
-
|
74
|
+
# x.report('standard case stem_match') do
|
75
|
+
# 100.times { RiDic.stem_match("playing") }
|
76
|
+
# end
|
77
77
|
|
78
|
-
|
79
|
-
|
80
|
-
|
78
|
+
# x.report('standard case no match stem_match') do
|
79
|
+
# 100.times { RiDic.stem_match("monkey") }
|
80
|
+
# end
|
81
81
|
|
82
|
-
end
|
82
|
+
# end
|
83
83
|
|
84
84
|
end
|
85
85
|
|
data/lib/ridic/version.rb
CHANGED