[Python-de] Re: Zuweisung via return
Hartmut Goebel <[email protected]> Wed, 3 Jul 2024 14:41:49 +0200
| Newsgroups | gmane.comp.python.general.german |
|---|---|
| Organization | crazy-compilers.com |
| Message-ID | <[email protected]> |
Am 03.07.24 um 13:43 schrieb Peter J. Holzer: > Ineffizient? Ja, denn wenn der String erst als ganzes formatiert wird, muss erstmal der Speicher für den ganzen String alloziert werden, ehe der String ausgegeben werden kann. Das mag von Pythons Speicher-Management abgefangen werden und auf aktuellen Rechnern nicht messbar sein - trotzdem wird mehr Rechenzeit und Speicher benötigt :-) Siehe auch https://de.wikipedia.org/wiki/Wirthsches_Gesetz -- Regards Hartmut Goebel | Hartmut Goebel |[email protected] | |www.crazy-compilers.com | compilers which you thought are impossible | _______________________________________________ python-de Mailingliste -- [email protected] Zur Abmeldung von dieser Mailingliste senden Sie eine Nachricht an [email protected] https://mail.python.org/mailman3/lists/python-de.python.org/ Mitgliedsadresse: [email protected]