“…ory behavior of each program run to produce optimizations tailored to that run. Specialization, or partial evaluation, is a related, more aggressive strategy by which hot portions of code are heavily optimized by "hard-coding" frequently occurring values, and other values that depend on them, directly into the instruction stream; when these values turn up again, the optimized code is invoked [2,8,13,14,17,21,22,26,28,31,35,36,43,44,45]. For certain classes of programs, such as interpreters, raytracers, and database query executors, in which a few popular values consistently dictate execution behavior, employing this technique can result in marked speedups, up to 5x in some cases [23].…”