[Tutor] Acceleration of long lists

Jan Kenin jankenin at gmx.de
Thu Jul 29 14:02:22 EDT 2021


Hello,
Often I append instances of objects in list-objects. Then I realize that
the progress of my program slows down, when the list becomes larger and
larger, e.g. larger than 3000. How can I accerlerate this? Perhaps it is
a question of memory. Can I initialize the list in order to do the
memory allocation only once?
Thanks for all ideas!
jankenin


More information about the Tutor mailing list