diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-02-06 13:25:58 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-02-06 13:29:31 -0800 |
commit | 17134be96d42fe36ac882b59cd50cf5105ae1399 (patch) | |
tree | 9c1315614aaa47292cf42c5ca2923d3af9a3bdb3 /printing_templates | |
parent | d2928a137cabab30973a96a71beee9fd840db516 (diff) | |
download | subsurface-17134be96d42fe36ac882b59cd50cf5105ae1399.tar.gz |
Profile: don't compile code that isn't needed on mobile
We were creating a couple dozen objects that we never needed and because
of that triggered several dozen callbacks whenever the model data changed.
All for UI elements of the profile that are either not used in the mobile
app (like the calculated ceiling or the partial pressure / tissue
saturation graphs), or are only useful when using the profile
interactively (which we also don't do on mobile).
I don't know if this will make a significant impact on performance, but it
seems like the right thing to do either way.
A positive side effect is that the odd blue line on top of the rendered
profile is gone as well.
Fixes #1007
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'printing_templates')
0 files changed, 0 insertions, 0 deletions