iroha
iroha copied to clipboard
Remove executed triggers
This can be an optimization to consider. After we know a trigger will never trigger again, we can remove it from the memory. If this is done, it should be noted that FindTriggers query will not return this trigger.
I don't think this is a good trade-off. I'd leave it as it is
Haven't SetTransaction::decrease_repeats and remove_zeros already achieved this?