kuanb / peartree

peartree: A library for converting transit data into a directed graph for sketch network analysis.
MIT License
201 stars 23 forks source link

Improve performance of gather op in RouteProcessor #92

Closed kuanb closed 6 years ago

kuanb commented 6 years ago

Fixes https://github.com/kuanb/peartree/issues/82

kuanb commented 6 years ago

Note: PR updated against last merged PR (@yiyange's). Attempted to make generate_edge_and_wait_values as concise as possible. All related parsing and data prep now in helper functions.

codecov[bot] commented 6 years ago

Codecov Report

Merging #92 into master will increase coverage by 0.08%. The diff coverage is 96.87%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #92      +/-   ##
==========================================
+ Coverage   91.62%   91.71%   +0.08%     
==========================================
  Files          12       12              
  Lines         872      881       +9     
==========================================
+ Hits          799      808       +9     
  Misses         73       73
Impacted Files Coverage Δ
peartree/summarizer.py 91.92% <96.87%> (+0.47%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 0d2cf48...c2f6ec9. Read the comment docs.