LatticeHashForest: An Efficient Data Structure for Repetitive Data and Operations
Anamitra Ghorui, Uday P. Khedker

TL;DR
LatticeHashForest (LHF) is a novel data structure designed to eliminate redundant computations and duplicate data in program analysis, significantly improving efficiency and memory usage in large-scale pointer analysis tasks.
Contribution
LHF introduces a generic, deduplication-enabled data structure that enhances large-structure operations and reduces computational redundancy in program analysis.
Findings
Memory usage reduced to negligible levels
Speedup of over 4x on large inputs
Effective deduplication at multiple levels
Abstract
Analysis of entire programs as a single unit, or whole-program analysis, involves propagation of large amounts of information through the control flow of the program. This is especially true for pointer analysis, where, unless significant compromises are made in the precision of the analysis, there is a combinatorial blowup of information. One of the key problems we observed in our own efforts to this end is that a lot of duplicate data was being propagated, and many low-level data structure operations were repeated a large number of times. We present what we consider to be a novel and generic data structure, LatticeHashForest (LHF), to store and operate on such data in a manner that eliminates a majority of redundant computations and duplicate data in scenarios similar to those encountered in compilers and program optimization. LHF differs from similar work in this vein, such as…
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.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsLogic, programming, and type systems · Parallel Computing and Optimization Techniques · Security and Verification in Computing
