Optimizes add_pairs to improve indexing performance
No longer round partnership durations to integer number of years
Fix the proportion of mismatched pairs forming casual partnerships
Overall the performance is actually similar to the main branch because the fix for casual partnership formation decreases the average relationship duration and increases the amount of time spent in match_pairs, offsetting the gains made elsewhere in the code
add_pairs
to improve indexing performanceOverall the performance is actually similar to the
main
branch because the fix for casual partnership formation decreases the average relationship duration and increases the amount of time spent inmatch_pairs
, offsetting the gains made elsewhere in the code