Click the green flag and wait. In this project, there are 2 lists, which are being generated and then having necessary information extracted from them. Explanation: Each list is trying to store a set of data for multiple entities, which are called "names." Each name has 4 items designated to it. List 1 stores this by adding the name into the list, and then the 4 items afterwards. List 2 only stores the 4 items, and instead keeps track of where they are located by knowing how many items are meant to be designated for each name, and the order in which the names' datas are stored (Names generated sooner have their data located closer to the beginning of the list). The extraction method for List 1 is: Find the item # of the name I'm trying to extract data from within my own list. Then add by a value from 1-4 (depending on which item I want). Add the item of the resulting number from my list to the final list. The extraction method for List 2 is: Find the item number of the name I'm trying to extract data from a separate list, which stores every single name. Then, subtract this value by 1, and multiply it by the number of items meant to be designated for each name. Then, add this value by 1-4 depending on the value I'm trying to extract, and add the item of the resulting number from my list to the final list.
This project was to share the results of a test I was originally doing for the purposes of my own projects. This is a very rushed test, as I didn't have much time to make it, but I do plan on testing for more cases in the future. The basic conclusion I was able to gather from this test is that List 2's extraction method is much more efficient, but it also uses 2 lists. In general, "item # of ( ) in list" is a block that is prone to being slow if the list is huge, and the item you're looking for is much farther down the list. So, if you're going to use this block, see if you can reserve it to a smaller list. From this experiment, I was able to draw these conclusions: List 1's method is recommended when the number of items assigned to a particular entity can vary, because this method is very inefficient when it relies on finding the item number to a certain value in a list that's very long. List 1's Pros and Cons are: +Easy to implement in code. +Easy to visually understand. +Works even if each entity is storing a different number of values. -Very slow when the list is long, and the names farther down the list took longer to extract. List 2's method is recommended when the number of items assigned to a particular entity is ALWAYS the same, since the speed increase is astronomical. List 2's Pros and Cons are: +Very fast, as it uses basic mathematical formulas to find the correct list item that holds the data that needs to be extracted, and it looks for the item # of a value in a much smaller list. +Allows the same number of values to be stored without a "bookmark item", making room for more values to be stored within a list's item limit. -Somewhat complex to implement, and not as easy to understand. -It only works if each entity is going to store the same amount of values. (In this case, you can assign more values to a single entity to compensate if you KNOW the MAXIMUM number of values an entity is going to store.)