Really fast generator written in rust. It uses bitshifting to optimize calculations.
Fast and saves the output to a .csv
file.
The syntax is ./rcg {result filename} {upper limit to generate}
.
$ ./rcg "result.csv" 1000
There is also a Rscript in the plottting directory, it plots the result from the .csv
file.
The syntax is Rscript {input filename} {output filename (.png only)}
.
$ Rscript lenght.r "result.csv" "result.png"
null device
1
It's normal that it says null device 1
.
There is no docker, since I don't really know how to make one that takes user arguments.