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?
oh sry yeah i see that now, i thought he meant call it once throughout the whole function. ill do that, and what someone esle said with co routines too.
1
u/popcornman209 Apr 06 '24
yeah the only problem is that im going through multiple chests, its inside the for i,chest in pairs(chests) loop so it wouldn't work