Thank you very much for the quick reply. You explained it very well ^^…
Another question though… Is it normal if setting the Cross Lacing of the String.Contains node slows down it’s operation? specially when there are a thousand strings involved?
Yes, it is basically squaring the number of calculations. If you had two lists of 1,000 items in auto it would do 1,000 comparisons, but in cross product it’s doing 1,000 * 1,000 because each list is compared with every item from the other list. So, it can be substantially slower.
it works as auto,long lacing of a dynamo node, I am expecting 4x times more results, it is not as the crossed lacing mode, also it says all false wich is not true in this case. I want to replace the node string.contains because it consumes a lot of memory RAM and time.
Base on the node I see before this one you have nested lists. Without seeing a full concept and data structure coming in nor example of what your wanting out I’m shooting in the dark. Those few quick lines were an example of how to test if a value was in a list, not a full blown stable node.
sorry I have to create an example to show, but search list are composed of 4 items strings, the full string list is composed by thousands of items strings. so I want to know if each of the 4 string items are in each of the thousands items list.