Any substantive difference between these two options for making an array?

So, I am wondering if there are any substantive or significant differences in these two different ways of making an array.

#1 Event Command > Page 1 Control Variable > Script

#2 Event Command > Page 3 Advanced > Script

I am experimenting with using arrays to track skills, skill levels, and skill exp to next level. And I am thinking of either doing an array for each skill with data for each actor who could be in the party OR an array for each actor who could be in the party with data for all of that actor's skills.

with either option, the arrays could be fairly large.

For instance, an array for a skill might look like this:

Locks & Traps Array (for all actors)

Reid, 0, 0, Priscilla, 0, 0, Gale, 0, 0, etc.

OR

Actor Skills Array (for one actor)

Locks & Traps, 0, 0, Alchemy, 0, 0, Crafting, 0, 0, Persuasion, 0, 0, etc.

The first 0 is the current skill level and the second 0 is to track the EXP from use. Once the EXP gets to a certain number, the level of the skill increases and the EXP returns to 0.

I have already tested an array like the skill for all actors and it works great.

With larger arrays, I am wondering if there is any difference or benefit to creating the array with option #1 or #2 above.

I don't know very much about Java Script and this doesn't seem to be anything I can determine just by testing each option to create the arrays.

Any thoughts are greatly appreciated.

Thanks!
Not really, no. The script option in Control Variable and the Script command both internally call eval to parse the code; the only real difference is that after parsing the former is automatically stored in a game variable and the latter isn't.
Awesome! Thanks for that quick reply!
you may have better luck with a hash.
it's an array where it's entries are labeled.
you input the name of the actor, and out comes the selection of respective values for the skills.
instead of going name = Array[index], value = array[index+1], value2 = array[index+2]
you go Array[name] => {value1, value2, value3 ... etc}
Thanks for that suggestion!

I will try that in my experiments.

I am also looking for a method that uses the least amount of unique variables. For my events, I reuse as many variables as possible unless it is absolutely necessary to store a unique value.

Thanks again!

Original thread: https://forums.rpgmakerweb.com/threads/any-substantive-difference-between-these-two-options-for-making-an-array.153135/