Memory allocation efficiency
Would we be marked on how well we use the computer memory?
For instance I've printed the command file in the terminal after parsing it and putting the values in an array. Which looks like this in the terminal:
Command: shortsleep
Action: 10 sleep 1000000 0
Action: 50 exit 1000000 0
Command: longsleep
Action: 10 sleep 5000000 0
Action: 50 exit 5000000 0
Command: cal
Action: 80 write terminal 0 2000
Action: 90 exit terminal 0 875523205136
Command: copyfile
Action: 200 read hd 0 48000
Action: 300 write hd 0 48000
Action: 600 read hd 0 21000
Action: 700 write hd 0 21000
Action: 1000 exit hd 0 0
Command: shell
Action: 100 write terminal 0 10
Action: 120 read terminal 0 4
Action: 220 spawn cal 0 0
Action: 230 wait cal 0 0
Action: 1000 exit cal 0 0
The headers would be "Action: ExecutionTime Operation Target SleepTime DataSize". Please note I printed this into the terminal to better visualize what my array looks like.
If we look at the exit action for "cal" for example we have this absurdly huge number "875523205136" as the DataSize. And the Target, and SleepTime are carried over from the previous action. But obviously the Target, SleepTime and DataSize can be ignored because we only really need the ExecutionTime and Operation. But then that absurdly huge number would be taking up the memory block for DataSize until DataSize is updated by the next action in the command file, which is copyfile's first action to read the contents of "hd". The same applies for Target, and SleepTime, which would remain frozen as the last values until it is updated by the next action that needs to use such fields.
So should I consider such a thing or am I overthinking it? Because after some thought, I realize I would have to be using up computational power just to update the DataSize field back to 0 for example.