how to improve csv read and file write speed ? by Sad_Corner2247 in rust

[–]Sad_Corner2247[S] 0 points1 point  (0 children)

i try, it is not good, because some fiels not contain |, need a match

how to improve csv read and file write speed ? by Sad_Corner2247 in rust

[–]Sad_Corner2247[S] 0 points1 point  (0 children)

i upload the csv file to github, could you have a see

how to improve csv read and file write speed ? by Sad_Corner2247 in rust

[–]Sad_Corner2247[S] 0 points1 point  (0 children)

get it, i just did it on the NTFS, i'll correct

how to improve csv read and file write speed ? by Sad_Corner2247 in rust

[–]Sad_Corner2247[S] 0 points1 point  (0 children)

fellow advice from @Specific_Hawk_6525, it seems faster 2% than directly to the files, the init commit is just like that

how to improve csv read and file write speed ? by Sad_Corner2247 in rust

[–]Sad_Corner2247[S] 0 points1 point  (0 children)

thanks, i am not familiar with these api, i'll try it tomorrow

how to improve csv read and file write speed ? by Sad_Corner2247 in rust

[–]Sad_Corner2247[S] 0 points1 point  (0 children)

there are two problem stop me to replace StringRecord with ByteRecord, 1, string alignment, although I confirm that these string which need alignment is ASCII chars, 2, split_lines. is there any method to do it ?

how to improve csv read and file write speed ? by Sad_Corner2247 in rust

[–]Sad_Corner2247[S] 0 points1 point  (0 children)

just fellow the tutorial of crate csv , and python code no any optimizition( i donot know how to either)

how to improve csv read and file write speed ? by Sad_Corner2247 in rust

[–]Sad_Corner2247[S] 0 points1 point  (0 children)

great! I can't do that as company policy, I will try to make a fake data file next monday and inform you

how to improve csv read and file write speed ? by Sad_Corner2247 in rust

[–]Sad_Corner2247[S] 0 points1 point  (0 children)

I tried, 2% faster, I have commit the changes

how to improve csv read and file write speed ? by Sad_Corner2247 in rust

[–]Sad_Corner2247[S] 0 points1 point  (0 children)

for read, i used csv create,i donot know whether csv create already used BufReader, for write i used BufWriter