not sure how close this is to counting as a "scripting question" but its relevant
my question is: what actions cause major lag?
for example, (on my computer and probably most)
instancing a new part into the workspace every 0.01 second will definetly cause lag over time
instancing 100000 parts at once will cause instant lag (crash)
print("hello") every 0.01 second does NOT cause lag (i assume because parts take up more data in memory)
so is there a specific "condition" that must be met in order to "cause lag" such as using lots of data? parts lag because they use up more data than print? (maybe i answered my question but id like to be sure)
lag can accumulate over time (like instancing too many parts). what else should be avoided to prevent lag over time?
also, is there a property under part that could make a large structure less laggy? i thought massless would lower the lag in a game i made with 1000 parts but it didnt. a "low settings" option?
thank you in advance

1 comment
While true do has pretty heavy impact on performance