GreenDelta / olca-modules

Source code of the openLCA modules
openlca.org
Mozilla Public License 2.0
29 stars 30 forks source link

ILCD Import: Cache mapped flows #9

Closed msrocka closed 5 years ago

msrocka commented 7 years ago

In the ILCD import, mapped flows are currently not cached which means that we are accessing the databases for these flows again and again. Basically, we just have to load the FlowMapEntry in the class ExchangeFlow in another place. Also, when importing all flows we could already cache the mapped flows (see the TODO in ILCDImport).

msrocka commented 5 years ago

Instead of mappings that are implicitly applied during the import we will have a user interface to apply flow mappings explicitly on a database in the future. Thus, there is no need any more to improve the caching of flow mappings.