Jump to content

Jump threading

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 92.39.205.100 (talk) at 18:54, 4 February 2011. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In computing, jump threading is a compiler optimization. In this pass, conditional jumps in the code that branch to identical or inverse tests are detected, and can be "threaded" through a second conditional test. This is easily done in a single pass through the program, following acyclic chained jumps until you arrive at a fixed point.