impactlab / eemeter

‼️ MOVED TO https://github.com/openeemeter/eemeter - Core computation engine for the Open Energy Efficiency Meter
https://eemeter.readthedocs.io/
MIT License
25 stars 13 forks source link

Unit conversions are slow #57

Closed philngo closed 9 years ago

philngo commented 9 years ago

REALLY slow. They make things a bit easier to think about, but since everything is internally stored as dimensioned objects, nearly every call to a weather source or consumption function makes a unit conversion. We would probably see speed increases of ~10x if we were more efficient with units.

philngo commented 9 years ago

ca8cd2e98fecbd8f3d92b58ccba3a0bd44717a40 speeds up unit handling in weather sources.

philngo commented 9 years ago

Closing this and moving issue of unit handling specifically with consumptions (the only other place pint is used) to #64.