Author Topic: Variable Limit  (Read 331 times)

Legacy_JediMindTrix

  • Sr. Member
  • ****
  • Posts: 383
  • Karma: +0/-0
Variable Limit
« on: August 06, 2015, 11:59:05 pm »


               

Does anyone know how many individual variables you can place upon an object?



               
               

               
            

Legacy_henesua

  • Hero Member
  • *****
  • Posts: 6519
  • Karma: +0/-0
Variable Limit
« Reply #1 on: August 07, 2015, 12:11:24 am »


               

i do not know the limit, but i have not reached it.


 


i suspect this list can be longer than 100 local variables.



               
               

               
            

Legacy_Squatting Monk

  • Hero Member
  • *****
  • Posts: 776
  • Karma: +0/-0
Variable Limit
« Reply #2 on: August 07, 2015, 12:18:13 am »


               There was a lot of testing on this back in 2006. According to the best data I saw, the limit per object is over 100k. You start to get a noticeable performance decrease when you have over 5,000 variables on a single object, though. As far as the total number of locals allowed in the module, I'm guessing it's mostly just limited by your RAM.
               
               

               
            

Legacy_JediMindTrix

  • Sr. Member
  • ****
  • Posts: 383
  • Karma: +0/-0
Variable Limit
« Reply #3 on: August 07, 2015, 12:29:05 am »


               

Thanks guys!