Hostname: page-component-77f85d65b8-2tv5m Total loading time: 0 Render date: 2026-04-21T20:18:53.387Z Has data issue: false hasContentIssue false

The worker/wrapper transformation

Published online by Cambridge University Press:  01 March 2009

ANDY GILL
Affiliation:
University of Kansas, USA (e-mail: andygill@ku.edu)
GRAHAM HUTTON
Affiliation:
University of Nottingham, UK (e-mail: gmh@cs.nott.ac.uk)
Rights & Permissions [Opens in a new window]

Abstract

Core share and HTML view are not available for this content. However, as you have access to this content, a full PDF is available via the 'Save PDF' action button.

The worker/wrapper transformation is a technique for changing the type of a computation, usually with the aim of improving its performance. It has been used by compiler writers for many years, but the technique is little known in the wider functional programming community, and has never been described precisely. In this article we explain, formalise and explore the generality of the worker/wrapper transformation. We also provide a systematic recipe for its use as an equational reasoning technique for improving the performance of programs, and illustrate the power of this recipe using a range of examples.

Information

Type
Articles
Copyright
Copyright © Cambridge University Press 2009
Submit a response

Discussions

No Discussions have been published for this article.