2005
DOI: 10.1007/11431664_9
|View full text |Cite
|
Sign up to set email alerts
|

Shrinking Reductions in SML.NET

Abstract: One performance-critical phase in the SML.NET compiler involves rewriting intermediate terms to monadic normal form and performing non-duplicating β-reductions. We present an imperative algorithm for this simplification phase, working with a mutable, pointerbased term representation, which significantly outperforms our existing functional algorithm.

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
10
0

Year Published

2006
2006
2018
2018

Publication Types

Select...
2
2
1

Relationship

2
3

Authors

Journals

citations
Cited by 15 publications
(10 citation statements)
references
References 8 publications
0
10
0
Order By: Relevance
“…transformation of unit*int values to int). We compare (a) the released version of SML.NET, implementing a monadic intermediate language (MIL) and functional-style simplification algorithm, (b) the Appel/Jimstyle graph representation adapted to MIL terms implemented by Lindley (Benton et al 2004a;Lindley 2005), and (c) the new graphbased CPS representation with union-find. Tests were run on a 3Ghz Pentium 4 PC with 1GB of RAM running Windows Vista.…”
Section: Performance Resultsmentioning
confidence: 99%
See 2 more Smart Citations
“…transformation of unit*int values to int). We compare (a) the released version of SML.NET, implementing a monadic intermediate language (MIL) and functional-style simplification algorithm, (b) the Appel/Jimstyle graph representation adapted to MIL terms implemented by Lindley (Benton et al 2004a;Lindley 2005), and (c) the new graphbased CPS representation with union-find. Tests were run on a 3Ghz Pentium 4 PC with 1GB of RAM running Windows Vista.…”
Section: Performance Resultsmentioning
confidence: 99%
“…An earlier term-graph implementation by Lindley was for a monadic language and had worst-case O(n 2 ) behaviour due to commuting conversions (Benton et al 2004a;Lindley 2005). Shivers and Wand (2005) have proposed a rather different graph representation for lambda terms, with the goal of sharing subterms after β-reduction.…”
Section: Recursive Functionsmentioning
confidence: 98%
See 1 more Smart Citation
“…In our setting the reductions that their algorithms perform are 3 In fact their calculus is n-ary, as is the full version of MIL. The reductions rely on knowing the number of occurrences of a particular variable.…”
Section: Previous Workmentioning
confidence: 99%
“…SML.NET [3,4] is a compiler for Standard ML that targets the .NET Common Language Runtime [7]. Like most other compilers for functional languages (e.g.…”
Section: Introductionmentioning
confidence: 99%