yakra / DataProcessing

Data Processing Scripts and Programs for Travel Mapping Project
0 stars 0 forks source link

Route mutexes #124

Closed yakra closed 4 years ago

yakra commented 4 years ago

https://github.com/yakra/DataProcessing/blob/1e5901d00a4da4ec25c18317b3ee60498d41d269/siteupdate/cplusplus/classes/Route/Route.h#L54-L56 Have another look at this. Something may be discernable after all.

yakra commented 4 years ago

Why do either of these exist at all? Edit: Because each ReadListThread works on a TravelerList, not a Route or HighwaySystem.

yakra commented 4 years ago

Small but clear improvements for lab2, scaling all the way to 16 threads, where it's ~19-21% faster.

yakra commented 4 years ago

This really starts to shine on lab3, scaling all the way to 24 threads, where it's 38.6% faster.