101 Commits

Author SHA1 Message Date
nortega f45932e188 Change compound to composite
In English we say "composite" for numbers which are composed as opposed
to prime.
2022-03-09 17:15:29 +01:00
nortega 374bc02b50 Use functional paradigm for file reading. 2022-03-09 16:59:30 +01:00
nortega df7017518e Use markdown for README. 2022-03-04 17:06:39 +01:00
nortega a2dfd6a6ca Quick fix partition point. 2022-03-04 16:57:29 +01:00
nortega 5c8c7baa75 Parallelize prime testing. 2022-03-04 15:48:00 +01:00
nortega b682ad9e9b Add rayon for parallelization. 2022-03-04 15:22:48 +01:00
nortega caad128ad2 Switch to using u64 for n rather than usize 2022-03-04 15:20:58 +01:00
nortega 7c2a5e7250 Use consistent formatting. 2022-03-03 16:46:31 +01:00
nortega d2f59a6b21 Use functional programming. 2022-03-03 16:30:40 +01:00
nortega c9db711008 Add license scanning again.
Apparently it does work?
2022-03-01 18:59:38 +01:00
nortega 752eca18ef Remove license scanning.
It's an Ultimate-only feature which I do not have.
2022-03-01 18:50:48 +01:00
nortega 39f88a3fd5 Test out license scanning. 2022-03-01 18:49:40 +01:00
nortega e515f72228 Add test stage to CI. 2022-03-01 18:42:10 +01:00
nortega c9293d4132 Add .gitlab-ci.yml 2022-03-01 17:50:49 +01:00
nortega 72d33325d0 Added 'test' option to man page. 2021-05-19 17:15:57 +02:00
nortega 1b9e7acfa9 Merge branch 'develop' of gitlab.com:naortega/indivisible into develop 2021-05-10 18:46:56 +02:00
nortega b13a363119 Will probably use normal threading. 2021-05-10 18:46:05 +02:00
nortega 9d84ce14b2 Added comments documenting code conditionals. 2021-05-07 17:36:38 +02:00
nortega 9b60985f8c Removed item from TODO list. 2021-05-05 18:19:35 +02:00
nortega 202c289d47 Refractored code to handle import files better. 2021-05-05 18:17:37 +02:00
nortega 64bba9564c I don't use FLAGS. Just OPTIONS in manpage. 2021-03-04 12:56:33 +01:00
nortega 76275660e3 Removed unnecessary variables. 2021-03-04 12:50:25 +01:00
nortega 0e59a7154d Added (un)installation instructions. 2021-03-03 18:58:07 +01:00
nortega bd3e48256f Install and uninstall scripts. 2021-03-03 18:54:12 +01:00
nortega 942737cd4a Changed descriptions. 2021-03-03 13:33:04 +01:00
nortega c68d75cb8c Add help information to --help option. 2021-03-03 13:24:53 +01:00
nortega 3eaaa296ee Changed to uppercase for FILE parameter. 2021-03-03 13:24:02 +01:00
nortega 196f7b9ca9 Change name of argument for -i option. 2021-03-03 12:57:46 +01:00
nortega 585bdee553 Removed documentation items from TODO. 2021-03-03 12:45:49 +01:00
nortega 915593a24a Created man page. 2021-03-03 12:45:11 +01:00
nortega 92a62ca346 Add new feature TODO. 2021-03-03 11:58:36 +01:00
nortega 3d52d6eb9f Added basic documentation to README. 2021-03-03 11:57:19 +01:00
nortega 6f3324e624 Add feature for imports. 2021-03-03 11:41:52 +01:00
nortega da9ef4211e Removed interface TODO items. 2021-03-03 11:41:08 +01:00
nortega c10c79dcfd Removed unnecessary comments for old argument parsing. 2021-03-03 11:18:52 +01:00
nortega 4e83d73810 Changed options structure and added verbose option. 2021-03-02 18:09:24 +01:00
nortega efe9ec5b3b Added new dependency. 2021-03-02 17:22:31 +01:00
nortega 683a222b76 Modified items in TODO for interface. 2021-03-02 17:14:54 +01:00
nortega 343a89e89f Switch to tabs (not spaces).
Stupid default options for NeoVim think it's a good idea to switch my
indentation type without asking me.
2021-03-01 19:40:02 +01:00
nortega 3f089ad0a4 Better iteration over elements. 2021-03-01 19:21:35 +01:00
nortega 07c6806b6d Added a TODO list. 2021-03-01 19:00:13 +01:00
nortega 7a755f7b05 Fixed bug. 2021-03-01 18:51:53 +01:00
nortega a3c8bfa5f2 Cargo lock had to update. 2021-03-01 18:41:56 +01:00
nortega 3c9efbb484 Updated the Cargo.toml file. 2021-03-01 18:40:33 +01:00
nortega 6a0b1968ef Added a README file. 2021-03-01 18:15:06 +01:00
nortega a6dbea7c55 Added license file. 2021-03-01 16:18:34 +01:00
nortega e8d4a876ef Added license. 2021-03-01 16:18:13 +01:00
nortega 9defe837e8 Use a vector to store known primes. 2021-03-01 16:12:23 +01:00
nortega 5538ac7515 Optimize the algorithm 2021-02-26 18:27:16 +01:00
nortega eb4405e1c3 Basic prime number calculation. 2021-02-26 18:22:20 +01:00