HackerPapers

arXiv:1908.10926cs.PL

Performance Analysis of Zippers

Vít Šefl

Early discovery. Linked by one identifiable commenter. This paper is outside the main ranking; a mention is not an endorsement.

Abstract

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.

arXiv comments
Part of DECLARE 19 proceedings, 15 pages, 9 listings, 6 figures, source files available at https://github.com/vituscze/performance-zippers
Journal reference
DOI
Subjects
cs.PLProgramming Languages cs.PFPerformance

On Hacker News

Linked by 1 identifiable commenter in 1 comment across 1 thread, from Jan 2025 to Jan 2025.

Comments linking this paper, per year.

Discussed in comments1 thread

    • A more theoretical read on the same topic: - Differentiating Data Structures (2005) http://www.strictlypositive.org/dfordata.pdf - Performance analysis of Zippers (2020) https://arxiv.org/pdf/1908.10926

      gataneView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.