batch_jaro_winkler 0.1.0 → 0.1.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/ext/batch_jaro_winkler/ext/batch_jaro_winkler.c +2 -2
- data/lib/batch_jaro_winkler/version.rb +1 -1
- metadata +8 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f2ffa14f3a5763647191da3a1df8683a76d1a3919ee0b0dc3585a6827810801
|
4
|
+
data.tar.gz: ba85b0a2c0e9f729642701c9f5062d99ea90fa5f49a12ba0887d536709859d45
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1334145d89c9a4f45900d728757fbc86ac5f6800dc2d09b7dc61d55a87fc6cc0fadb2490e7076e09dc22086ef09ead801f58965f6a46adc43714545d7040488b
|
7
|
+
data.tar.gz: 140a21c3203d148bcb5aa6f444114088f0a72eb44a655932855565945aacbf0916ded0a761e6eaee8a387e1e32473490866664e9b36dc9ad8f2c4b850fa36e7f
|
@@ -240,7 +240,7 @@ static uint8_t *build_exportable_model_for_thread(
|
|
240
240
|
|
241
241
|
if (char_access_width == 4)
|
242
242
|
((uint32_t*)candidate_occurrences->occ_indexes)[candidate_occurrences->occ_indexes_len] = i_char;
|
243
|
-
if (char_access_width == 2)
|
243
|
+
else if (char_access_width == 2)
|
244
244
|
((uint16_t*)candidate_occurrences->occ_indexes)[candidate_occurrences->occ_indexes_len] = i_char;
|
245
245
|
else
|
246
246
|
((uint8_t*)candidate_occurrences->occ_indexes)[candidate_occurrences->occ_indexes_len] = i_char;
|
@@ -386,7 +386,7 @@ static uint8_t *build_exportable_model_for_thread(
|
|
386
386
|
{
|
387
387
|
if (char_access_width == 4)
|
388
388
|
*((uint32_t*)occurrences_head) = ((uint32_t*)candidate_occurrences->occ_indexes)[i_occurrence];
|
389
|
-
if (char_access_width == 2)
|
389
|
+
else if (char_access_width == 2)
|
390
390
|
*((uint16_t*)occurrences_head) = ((uint16_t*)candidate_occurrences->occ_indexes)[i_occurrence];
|
391
391
|
else
|
392
392
|
*((uint8_t*)occurrences_head) = ((uint8_t*)candidate_occurrences->occ_indexes)[i_occurrence];
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: batch_jaro_winkler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dominik Bousquet
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|
@@ -16,20 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
20
|
-
- - ">="
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: 1.12.2
|
19
|
+
version: 1.12.0
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
24
|
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
30
|
-
- - ">="
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: 1.12.2
|
26
|
+
version: 1.12.0
|
33
27
|
description: This project gets its performance from the pre-calculation of an optimized
|
34
28
|
model in advance of the actual runtime calculations. Supports any encoding.
|
35
29
|
email: bousquet.dominik@gmail.com
|
@@ -53,7 +47,7 @@ licenses:
|
|
53
47
|
- MIT
|
54
48
|
metadata:
|
55
49
|
source_code_uri: https://github.com/dbousque
|
56
|
-
post_install_message:
|
50
|
+
post_install_message:
|
57
51
|
rdoc_options: []
|
58
52
|
require_paths:
|
59
53
|
- lib
|
@@ -68,8 +62,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
68
62
|
- !ruby/object:Gem::Version
|
69
63
|
version: '0'
|
70
64
|
requirements: []
|
71
|
-
rubygems_version: 3.1.
|
72
|
-
signing_key:
|
65
|
+
rubygems_version: 3.1.4
|
66
|
+
signing_key:
|
73
67
|
specification_version: 4
|
74
68
|
summary: Fast batch jaro winkler distance implementation in C99.
|
75
69
|
test_files: []
|