> In case the issue is actually cleaning up the code, I would consider > making the action a delegate that you pass in to your algorithm (and > execute there). This doesn't incur a penalty on the execution time ? Does it unfold the delegate as an inline function, or will there be calls to the delegate ?