SPD: recreate long list rather than insert

  scripts
  sprites
See inside
Notes and Credits

Speed test demo -see studio for more speed test demos:

http://scratch.mit.edu/studios/795672/

-------

This one shows that inserting into a list can be quite slow, and that if you have lots of things to insert, it could well be quicker to actually copy it all into a temporary list, and then rebuild it all from scratch with the extra items, so that you only ever use "add", never "insert" - even if it means you end up adding more than twenty times as many items as you would've inserted!

Shared: 26 Dec 2014 Modified: 13 Aug 2015
Favorite this project 23
Love this project 41
Total views 617
View the remix tree  1
  
More projects by TheLogFather