Closed martinfleis closed 9 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
4037c70
) 97.4% compared to head (176b4b2
) 97.5%. Report is 1 commits behind head on main.
Total speedup, to run all on a single city is 0.54, so we are now nearly twice as fast to compute the same.
Amazing. Very cool work.
@jGaboardi I am aware it is a loooong PR so can split it if you prefer that, but there's a ton of repetition in docstrings and tests so it is not that much.
No need to split. I will hunker down and get it down.
Completely refactored
shape.py
. This was probably the easiest of them all.Performance comparison on data covering whole Prague:
Total speedup, to run all on a single city is 0.54, so we are now nearly twice as fast to compute the same.
@jGaboardi I am aware it is a loooong PR so can split it if you prefer that, but there's a ton of repetition in docstrings and tests so it is not that much.
I am also quite happy how the code looks compared to the original
shape.py
.