Jump to content

Jump threading

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Ecb29 (talk | contribs) at 16:22, 11 May 2005. 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.