Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anders mutieren und dabei abwägen #5

Open
katrinleinweber opened this issue Nov 18, 2018 · 0 comments
Open

Anders mutieren und dabei abwägen #5

katrinleinweber opened this issue Nov 18, 2018 · 0 comments

Comments

@katrinleinweber
Copy link
Owner

In mutate(...) werden die Zwischenergebnisse Intervall_Tage und Strom_kWh_pro_Tag nur einmal verwendet. Wir müssen beide also nicht unbedingt als Variablen speichern, sondern können ihre Berechnungsformeln auch dort einsetzen, wo momentan die Variablen aufgerufen werden. Setzen Sie schrittweise ein, sodass am Ende Abschlag_Strom_EUR in einem Rutsch berechnet wird.

Das mag Arbeitsspeicher / RAM einsparen, aber auf Kosten von was geht eine solche Einsparung? In welchen Situationen ist welche Art der Einsparung / Optimierung sinnvoll?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant