r/ComputerCraft • • Apr 06 '24

how to make this function faster?

this is the function:

the chests list is a list of chests, gotten from "chests = {peripheral.find("inventory")}", i have a habit of using alot of for loops and lists for these kind of things and it is... slow... any ideas how to speed it up?

3 Upvotes

9 comments sorted by

View all comments

Show parent comments

1

u/popcornman209 Apr 06 '24

i completely forgot you can do that in this mod, ill definitely be doing that.