计算机科学 > 程序设计语言
[提交于 2019年8月28日]
标题:Performance Analysis of Zippers
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:A zipper is a powerful technique of representing a purely functional data structure in a way that allows fast access to a specific element. It is often used in cases where the imperative data structures would use a mutable pointer. However, the efficiency of zippers as a replacement for mutable pointers is not sufficiently explored. We attempt to address this issue by comparing the performance of zippers and mutable pointers in two common scenarios and three different languages: C++, C#, and Haskell.
提交历史
来自:Vít Šefl[v1] 2019年8月28日 星期三 19:48:10 UTC