Amortised analysis
- f heap consumption
Olha Shkaravska Institut of Informatics, LMU Munich, Germany
Amortised analysisof heap consumption – p.1/27
Amortised analysis of heap consumption Olha Shkaravska Institut of - - PowerPoint PPT Presentation
Amortised analysis of heap consumption Olha Shkaravska Institut of Informatics, LMU Munich, Germany Amortised analysisof heap consumption p.1/27 Motivation and Structure of this talk Hofmann-Jost inference system: inference of linear
Olha Shkaravska Institut of Informatics, LMU Munich, Germany
Amortised analysisof heap consumption – p.1/27
Amortised analysisof heap consumption – p.2/27
Amortised analysisof heap consumption – p.3/27
Amortised analysisof heap consumption – p.4/27
Amortised analysisof heap consumption – p.5/27
while not StackEmpty(S) and k<>0 do { Pop(S); k:= k-1 }
Amortised analysisof heap consumption – p.6/27
Amortised analysisof heap consumption – p.9/27
Amortised analysisof heap consumption – p.10/27
Amortised analysisof heap consumption – p.11/27
Amortised analysisof heap consumption – p.12/27
Amortised analysisof heap consumption – p.13/27
Amortised analysisof heap consumption – p.14/27
Amortised analysisof heap consumption – p.15/27
0:
Amortised analysisof heap consumption – p.16/27
0 works (a bit of type-inference for k0, k′, k′
0),
v=1 k(v) − f(x)| ≤ C.
Amortised analysisof heap consumption – p.17/27
Amortised analysisof heap consumption – p.18/27
Amortised analysisof heap consumption – p.19/27
Amortised analysisof heap consumption – p.20/27
Amortised analysisof heap consumption – p.21/27
Amortised analysisof heap consumption – p.22/27
Amortised analysisof heap consumption – p.23/27
Amortised analysisof heap consumption – p.24/27
0 = 0.
Amortised analysisof heap consumption – p.25/27
Amortised analysisof heap consumption – p.26/27
Amortised analysisof heap consumption – p.27/27