---
title: Task skipping
slug: task-skipping
qid: 
snapshot: enwiki-001353925186
content_hash: 
license: CC BY-SA 4.0
source: https://en.wikipedia.org/w/index.php?oldid=1353925186
tags: [10363121, 11060667, 116690190, 23468805, 24745108, 24745115, 25846141, 26748027, 50400196]
---

# Task skipping

> [!note] Provenance
> Snapshot `enwiki-001353925186` · content root `…`
> Derived from <https://en.wikipedia.org/w/index.php?oldid=1353925186> · Licensed CC BY-SA 4.0

Task skipping is an approximate computing technique that allows to skip code blocks according to a specific boolean condition to be checked at run-time. This technique is usually applied on the most computational-intensive section of the code. It relies on the fact that a tuple of values sequentially computed are going to be useful only if the whole tuple meet certain conditions. Knowing that a value of the tuple invalides or probably will invalidate the whole tuple, it is possible to avoid the computation of the rest of the tuple.

Task skipping is an approximate computing technique that allows to skip code blocks according to a specific boolean condition to be checked at run-time. This technique is usually applied on the most computational-intensive section of the code. It relies on the fact that a tuple of values sequentially computed are going to be useful only if the whole tuple meet certain conditions. Knowing that a value of the tuple invalides or probably will invalidate the whole tuple, it is possible to avoid the computation of the rest of the tuple. ==Code example== The example that follows provides the result of task skipping applied on this C-like source code for (int i = 0; i ===Skipping a task=== for (int i = 0; i = fixed_threshold) { value_2 = compute_2(i); } } ==See also== Loop perforation Memoization
