TL;DR
This paper presents the first implementation and experimental analysis of the compressed stack data structure, demonstrating significant memory savings with manageable runtime increase in limited memory environments.
Contribution
It introduces the first implementation of the compressed stack and provides an empirical evaluation of its performance across various scenarios.
Findings
Significantly reduces memory usage for large data sets
Increases runtime by approximately 2.32 times on average
Effective even in challenging test scenarios
Abstract
The {\em compressed stack} is a data structure designed by Barba {\em et al.} (Algorithmica 2015) that allows to reduce the amount of memory needed by an algorithm (at the cost of increasing its runtime). In this paper we introduce the first implementation of this data structure and make its source code publicly available. Together with the implementation we analyze the performance of the compressed stack. In our synthetic experiments, considering different test scenarios and using data sizes ranging up to elements, we compare it with the classic (uncompressed) stack, both in terms of runtime and memory used. Our experiments show that the compressed stack needs significantly less memory than the usual stack (this difference is significant for inputs containing or more elements). Overall, with a proper choice of parameters, we can save a significant amount of space…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
