Closed dynaryu closed 7 months ago
I made a bit of changes in terms of data structure of the variable: rules:
rules
before: a list of tuples e.g., [({'e1': 0} , 's'), ({'e1': 2} , 'f')]
after: a dict of list e.g., {'s': [{'e1': 0}], 'f': [{'e1': 2}], 'u': []}
Not sure about performance though.
I made a bit of changes in terms of data structure of the variable:
rules
:before: a list of tuples e.g., [({'e1': 0} , 's'), ({'e1': 2} , 'f')]
after: a dict of list e.g., {'s': [{'e1': 0}], 'f': [{'e1': 2}], 'u': []}
Not sure about performance though.