factbase 0.15.4 → 0.15.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/factbase/indexed/indexed_term.rb +2 -2
- data/lib/factbase/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 74b612e25e2049c5a9ca7479d32109671f31418cbc9a2d82585477ff49b5727b
|
4
|
+
data.tar.gz: '094ed4fe01c04634069850d2761f3c8d4b84843cc1888a8682c9d2c4582feded'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad57f438328d323dcaf6127795952a6594a7d5eb65923a248d38f2824ebf00f709bf1e2c0cb60d108737c4fc94d43357c929f3d5009dac2557f9da56ed13936f
|
7
|
+
data.tar.gz: 5ec7f708d55964e836b014d714f462647ee3fe29326e5ba29b4ef609a507fd238a483d580c29cd73074a53f14f09b58554a5db36d36193abe01458b2af340404
|
@@ -153,10 +153,10 @@ module Factbase::IndexedTerm
|
|
153
153
|
end
|
154
154
|
if r.nil?
|
155
155
|
r = n
|
156
|
-
elsif n.size < r.size *
|
156
|
+
elsif n.size < r.size * 8 # to skip some obvious matchings
|
157
157
|
r &= n.to_a
|
158
158
|
end
|
159
|
-
break if r.
|
159
|
+
break if r.size < 512
|
160
160
|
end
|
161
161
|
end
|
162
162
|
r
|
data/lib/factbase/version.rb
CHANGED