compare parallel-for implementation approaches