brightway-lca / brightway2-io

Importing and exporting for the Brightway LCA framework
BSD 3-Clause "New" or "Revised" License
26 stars 40 forks source link

Performance improvement for reading cells with openpyxl #101

Closed juweya closed 2 years ago

juweya commented 3 years ago

Repetitive call of function ws.cell is time consuming according to https://blog.dchidell.com/2019/06/24/openpyxl-poor-performance-optimisation/. Proposed solution was taken from there as well reducing the reading time of the impact categories in repo bw_recipe_2016 from 5+ hours to a few minutes.