I’m wondering if i can simplify a script i built with a single node or a group that will be improve efficiency.
I have two lists. One is a master list of 300+ items that lists all elements of a certain category The second list is smaller with 24 items. I would like each item of the smaller list (24 items) to search the master list and output the occurrences of the 24 items separately. (Item 1 occurs 24 times in the master list - here are the list of rooms xxx)
My first run through performs the following,
- lists the room elements
- gets the items of a certain parameter. Let’s call the parameter “department” and lists the values (We have 24 unique values.
-The 24 unique values are then searched against the master list using boolean mask.
-I have repeated this process for the 24 unique items i need to search for.