1. A computer-implemented method comprising: using a result of a first function of a staged computation, the first function performed on an input and the result being a constant value, compiling a second function of the staged computation based on the constant value being between a first value and a second value; and executing the second function on the input to generate a media output.