尚未生成 AI 速览(可能缺少 API key 或等待下次运行补跑)。
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 thegeneric countproblem using a pure PCF-like base language λband its extension with effect handlers λh.We show that λhadmits an asymptotically more efficient implementation of generic count than any λbimplementation.We also show that this efficiency gap remains when λbis extended with mutable state.To our knowledge this result is the first of its kind for control operators.
DOI 原文 · arXiv · PDF(开放获取) · DBLP
@article{abs-2007-00605,
title = {Effects for efficiency: asymptotic speedup with first-class control},
author = {Daniel Hillerström and Sam Lindley and John Longley},
journal = {Proceedings of the ACM on Programming Languages},
volume = {4},
number = {ICFP},
year = {2020},
doi = {10.1145/3408982}
}