HSLdevcom / mal-effect-calculations

Impact assessment scripts for the Helsinki region MAL planning process
https://www.hsl.fi/hsl/mal
European Union Public License 1.2
1 stars 0 forks source link

Performance issue in `dplyr::group_by` or `dplyr::summarise` #62

Closed johpiip closed 1 year ago

johpiip commented 2 years ago

This part is super slow especially after upgrading from dplyr v1.0.5 to dplyr v1.0.8:

https://github.com/HSLdevcom/mal-effect-calculations/blob/91b2026bd78e2ec88b47f7ca30cfc1ca745d7c92/scripts/accessibility/tidy_agent_data.R#L67-L74

Might have been slow previously too?

johpiip commented 2 years ago

Nope, it was fast in dplyr v1.0.5 but slow in v1.0.8.