Closed pixelzoom closed 7 years ago
Creating the model (RealMoleculesModel) is lightweight, so it's OK to do that and not use it. The significant cost is in creating the view.
Done, tested with and without ?ea&realMolecules
.
@zepumph FYI, since you're in the process of code review.
We're releasing Molecule Polarity 1.0.0 without an implementation of the Real Molecules screen, see #27. But in the meantime, it is still doing a lot of unnecessary work, which will impact startup time.
RealMoleculesScreenView constructor currently looks like this:
Better would be: