Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

fusion

You are here: irt.org | FOLDOC | fusion

<programming> A program transformation where a composition of two functions is replaced by in-lining them and combining their bodies. E.g.

	f x = g (h x)	==>	f x = g (2 * x)
	g x = x + 1		f x = 2 * x + 1
	h x = 2 * x

This has the beneficial effect of reducing the number of function calls. It can be especially useful where the intermediate result is a large data structure which can be eliminated.

See also vertical loop combination.

(1994-12-05)

Nearby terms: furrfu « FUSE « FUSION « fusion » FutureBasic » future date testing » futz

FOLDOC, Topics, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, ?, ALL

©2018 Martin Webb