1. A non-transitory computer-readable medium to store instructions, the instructions comprising: one or more instructions that, when executed by at least one processor, cause the at least one processor to: evaluate a characteristic of a function; dynamically determine, based on the evaluated characteristic of the function, a partitioning scheme for an input to the function; partition, based on dynamically determining the partitioning scheme for the input, an array into a plurality of parts; process the plurality of parts; and produce a result based on the processing.