pfmc-assessments / PacFIN.Utilities

R code to manipulate data from the PacFIN database for assessments
http://pfmc-assessments.github.io/PacFIN.Utilities
Other
7 stars 1 forks source link

Improve speed of getExpansion_1 #44

Closed chantelwetzel-noaa closed 3 years ago

chantelwetzel-noaa commented 3 years ago

The getExpansion_1 function runs incredibly slow on large data sets. For Dover sole which has more than 270,000 length records this function took ~ 4.5 minutes. Need to evaluate what is causing the time sink and see if this could be sped up.

kellijohnson-NOAA commented 3 years ago

Cured with the move towards dplyr in compfixes branch.