blurrily 0.2.0 → 0.2.1
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/README.md +3 -3
- data/ext/blurrily/extconf.rb +1 -1
- data/lib/blurrily/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 33d31a6d8f0cd49c19cd9ea8df17cd4d32a2f7cd
|
4
|
+
data.tar.gz: ab8546ee590bd9d5e5025a60d9b337f8472ddafd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d19b002f2be93f4eada66e8eedcad5c9a9f3a4b3691c5300e2265fedbefb4e039ebf84fa05eee365a012bff4b0e3181acb6adfed69c37f286dbb17da0e46a89
|
7
|
+
data.tar.gz: 902b01256d823b4719f53c974cc0964a76a2f890bf75b907e91e170e910577aaafb7c18b35a7a5393d417ceb04a6e5e9bfea44691219e75fd6d0f6f9721bae9e
|
data/README.md
CHANGED
@@ -99,7 +99,7 @@ strings).
|
|
99
99
|
This means that case and diacritrics are completely ignored by Blurrily. For
|
100
100
|
instance, *Puy-de-Dôme* is strictly equivalent to *puy de dome*.
|
101
101
|
|
102
|
-
It also means that any non-latin input will probably result in
|
102
|
+
It also means that any non-latin input will probably result in garbage data
|
103
103
|
and garbage results (although it won't crash).
|
104
104
|
|
105
105
|
### Multi-word needles and edge stickyness.
|
@@ -109,7 +109,7 @@ Multi-word needles (say, *New York*) are supported.
|
|
109
109
|
The engine always favours matches that begin and end similarly to the
|
110
110
|
needle, with a bias to the beginning of the strings.
|
111
111
|
|
112
|
-
|
112
|
+
This is because internally, the string *New York* is turned into this
|
113
113
|
sequence of trigrams: `**n`, `*ne`, `new`, `ew*`, `w*y`, `*yo`, `yor`,
|
114
114
|
`ork`, `rk*`.
|
115
115
|
|
@@ -131,7 +131,7 @@ For instance, `/usr/share/dict/words` is a list of 235k English words, and
|
|
131
131
|
weighs 2.5MB. Importing the whole list uses up 75MB of memory, 51MB of which
|
132
132
|
are the database.
|
133
133
|
|
134
|
-
Note that once a
|
134
|
+
Note that once a database has been written to disk and loaded from disk,
|
135
135
|
memory usage is minimal (560KB per database) as the database file is memory
|
136
136
|
mapped. For performance you do need as much free memory as the database
|
137
137
|
size.
|
data/ext/blurrily/extconf.rb
CHANGED
data/lib/blurrily/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blurrily
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Julien Letessier
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-05-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|