mie-lab / trackintel

trackintel is a framework for spatio-temporal analysis of movement trajectory and mobility data.
MIT License
198 stars 50 forks source link

EHN: speed up _split_overlaps #602

Open hongyeehh opened 7 months ago

hongyeehh commented 7 months ago

The changes in #393 simplify the logic for the code but significantly affect the performance. This is because the previous change_flag splits all rows at each iteration, while the current version uses apply and splits per row.