You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-8Lines changed: 12 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,17 +10,17 @@ The difficulty in sorting words is due to the need to handle sorting rules accor
10
10
11
11
The following results are for 123 unique utf-8 Bible text files in 23 languages (used at mybible.pl site) They take 504MB. (The repo contains only a few sample files in the 'data' folder. For testing more data you could multiple files by cloning *.txt (and the associated*.yml) file under different names)
12
12
13
-
* Platform: MacOS 12.2
13
+
* Platform: MacOS 12.6
14
14
* Machine: MacBook Pro 16" 64GB 2TB M1Max 10 cores.
15
15
16
16
<pre>
17
-
1. Rust 1.18 = 1.14s, with sorting: 1.59s
18
-
2. Golang 1.17.7 = 1.84s, with sorting: 2.16s
19
-
3. Python 3.10.2 = 4.53s, with sorting: 4.65s
20
-
4. Crystal 1.3.2 = 5.72s
21
-
5. Elixir 1.13.2 = 7.82s
22
-
6. Julia 1.7.1 = 12.46s, with sorting: 13.71s
23
-
7. Ruby 3.1.0 = 13.00s, with sorting: 13.04s
17
+
1. Rust 1.63= 1.15s, with sorting: 1.64s
18
+
2. Golang 1.19.1 = 1.38s, with sorting: 1.71s
19
+
3. Python 3.11.0rc1 = 4.29s, with sorting: 4.44s
20
+
4. Crystal 1.5.1 = 5.61s
21
+
5. Elixir 1.14.0 = 7.34s
22
+
6. Julia 1.8.1 = 12.13s, with sorting: 12.22s
23
+
7. Ruby 3.2.0-preview2 = 12.63s, with sorting: 12.87s
24
24
</pre>
25
25
26
26
### Conclusion
@@ -49,6 +49,10 @@ The new optimized Golang code version is very fast, slower than Rust but faster
49
49
50
50
## Changes
51
51
52
+
2022-09-17
53
+
54
+
* Updated all version. Slighty faster results. The order not changed.
55
+
52
56
2022-02-08
53
57
54
58
* Added improved Ruby code version with correct reading the pure text to tokenize (it ignores sigla in each verse), and with the correct regular expression for extracting words. The code is a little slower but it works almost as expected. (almost because for arm64/M1 it can't use ICU)
0 commit comments