matsim-vsp / parallel_qsim_rust

Parallel and distributed implementation of the Qsim in Rust
8 stars 0 forks source link

Modularization #59

Closed paulheinr closed 1 year ago

paulheinr commented 1 year ago

@Janekdererste That worked better than I expected. The trickiest part was the one with the self reference and Pin. It actually worked for the small test cases with raw pointers, but the Berlin scenario crashed. I think, some relevant structs were moved under the hood. Pin prevents those moves. With Pin, Berlin scenario works and is as fast as before. The other parts of the modularization should be as dicussed 🙂