Abstract
We study the fundamental efficiency of delimited control. Specifically, we show that effect handlers enable an asymptotic improvement in runtime complexity for a certain class of functions. We consider the generic count problem using a pure PCF-like base language and its extension with effect handlers . We show that admits an asymptotically more efficient implementation of generic count than any implementation. We also show that this efficiency gap remains when is extended with mutable state. To our knowledge this result is the first of its kind for control operators.
Connections
Explore this paper’s authors, topics and related work.
Building this map preview
BZPEER is loading the nearby papers, people, topics and institutions for this page.
Reviews 0
Write a review
No reviews yet.
Discussion 0
Add a comment
No comments yet.