File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ The following results are for 123 unique utf-8 Bible text files in 23 languages
1414* Machine: MacBook Pro 16" 64GB 2TB M1Max 10 cores.
1515
1616<pre >
17- 1. Rust 1.58 = 1.14s (with sorting: 1.62s ) with tokyo (previous: 1.34s, with sorting: 1.79)
17+ 1. Rust 1.58 = 1.14s (with sorting: 1.59s ) with tokyo (previous: 1.34s, with sorting: 1.79)
18182. Golang 1.17.6 = 1.34s (with sorting: 6.55s)
19193. Python 3.10.2 = 2.80s (with multiprocessing)
20204. Julia 1.7.1 = 4.522
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ use std::path::Path;
77use tokio:: fs;
88use yaml_rust:: YamlLoader ;
99
10- const SORT : bool = true ;
10+ const SORT : bool = false ;
1111const OUTDIR : & str = "words" ;
1212const FILE_DIR : & str = "../data/??/**/*.yml" ;
1313static SEPARATOR_REGEX : Lazy < Regex > = Lazy :: new ( || Regex :: new ( r"[\W\d]+" ) . unwrap ( ) ) ;
@@ -57,6 +57,8 @@ async fn main() -> std::io::Result<()> {
5757 let yaml_path = entry. expect ( "should be existed" ) ;
5858 let txt_path = yaml_path. with_extension ( "txt" ) ;
5959
60+ println ! ( "{:?}" , txt_path) ;
61+
6062 let outdir_submission =
6163 tokio:: spawn ( async { create_outdir ( ) . await . expect ( "unable to create outdir" ) } ) ;
6264
You can’t perform that action at this time.
0 commit comments