#for each

10 messages · Page 1 of 1 (latest)

charred torrent
#

what could i use instead of a for each for big lists? its consuming my cpu

slender ivy
#

a custom one

charred torrent
slender ivy
#

keep track of the current index with a variable, check list length and stop loop, stuff thats hard for me to explain typing on a phone

#

if you know how a loop works under the curtain its easy to just slap something together that does the same thing but with a delay chip

charred torrent
#

Alright I've got it, thank you. I thought this was only used for for loops

slender ivy
#

a for each wouldnt work without something keeping track of the index now would it?

#

theres another method that essentially staggers the looping over multiple frames of using the for loop chip

#

where a batch of the list gets processed by the loop chip

#

ask cryptic for more info on that as he made one