when trigger is dealing with stepstates that have same_submissions_as another, added shortcut to avoid need to post_process, and also cached sameness calculation, giving orders of magnitude speed up when dealing with ref steps
when trigger is dealing with stepstates that have same_submissions_as another, added shortcut to avoid need to post_process, and also cached sameness calculation, giving orders of magnitude speed up when dealing with ref steps

wtsi-hgi/vr-pipe,wtsi-hgi/vr-pipe