1. A computing device having one or more processors and a memory to store program code which, when executed by the one or more processors, causes the one or more processors to: reorder a sequence of instructions that is to be iteratively executed within an execution thread to produce a reordered sequence of instructions in which constituent instructions that require longer execution time than other constituent instructions are grouped together; and insert, within the reordered sequence of instructions, one or more additional instructions to enable parallel execution of two or more instances of the sequence of instructions such that the constituent instructions that require longer execution time will be executed concurrently with the other constituent instructions such that time required for multiple executions of the sequence of instructions is reduced.