• Joined on 2022-04-26
herel pushed to threads at herel/RustyPropagation 2022-05-05 13:21:43 +00:00
herel created branch threads in herel/RustyPropagation 2022-05-05 13:21:43 +00:00
herel pushed to new_propa at herel/RustyPropagation 2022-05-05 13:21:43 +00:00
herel created branch new_propa in herel/RustyPropagation 2022-05-05 13:21:42 +00:00
herel pushed to with_fixed_arrays at herel/RustyPropagation 2022-05-05 13:21:42 +00:00
d528ae76a0 remove output
herel pushed to new_propa_thread at herel/RustyPropagation 2022-05-05 13:21:03 +00:00
b512988fb0 working version
94466c7f1b propagate each human consecutively
Compare 2 commits »
herel created branch new_propa_thread in herel/RustyPropagation 2022-05-05 13:21:03 +00:00
herel pushed to theads-no-mutex at herel/RustyPropagation 2022-05-05 12:34:19 +00:00
a6d56af613 add cli option to specify number of threads
herel pushed to theads-no-mutex at herel/RustyPropagation 2022-05-04 19:29:59 +00:00
1abf452ce5 use RwLock
ea74e1029b using Arc<Mutex<Vec<Human>>>
Compare 2 commits »
herel created branch theads-no-mutex in herel/RustyPropagation 2022-05-04 19:29:59 +00:00
herel pushed to master at herel/RustyPropagation 2022-05-04 12:58:28 +00:00
eccb238f5e Merge pull request 'Many fixes:' (#1) from herel/RustyPropagation:fixes into master
4b2fdd1eb3 Use new() impl for humans
04a597c758 Many fixes:
Compare 3 commits »
herel pushed to fix-2 at herel/RustyPropagation 2022-05-04 12:58:08 +00:00
6684ad2675 remove generate and add some testing
herel pushed to with_fixed_arrays at herel/RustyPropagation 2022-05-03 22:42:48 +00:00
600976cc6a add test for harmless disease
0f2702a5c0 less frequest cast with size
Compare 2 commits »
herel pushed to with_fixed_arrays at herel/RustyPropagation 2022-05-03 22:13:49 +00:00
b47c1fb2b6 regroup initialization
herel created branch with_fixed_arrays in herel/RustyPropagation 2022-05-03 22:13:49 +00:00
herel pushed to fix-2 at herel/RustyPropagation 2022-05-03 21:17:51 +00:00
3a41670fea check only normal people
fb6e9e82b3 remove unused code
Compare 2 commits »
herel pushed to fix-2 at herel/RustyPropagation 2022-05-03 21:12:36 +00:00
bdb6e60e98 cargo fmt
herel pushed to fix-2 at herel/RustyPropagation 2022-05-03 21:11:34 +00:00
a2bbd1d431 fix test propagate_infect_cure_all
b456a9fb63 human: remove new() trait
89020eeb21 check surroundings instead
5affe83fdc remove line
Compare 4 commits »
herel pushed to fix-2 at herel/RustyPropagation 2022-05-03 18:57:15 +00:00
7193fb2b16 use 1000 x 1000
herel pushed to fix-2 at herel/RustyPropagation 2022-05-03 18:50:30 +00:00
57db06ff9a move asserts to tests