Data splitting for recursive data structures
Abstract
Embodiments of the present invention provide a method, system and computer program product for the data splitting of recursive data structures. In one embodiment of the invention, a method for data splitting recursive data structures can be provided. The method can include identifying data objects of a recursive data structure type, such as a linked list, within source code, the recursive data structure type defining multiple different data fields. The method further can include grouping the data objects into some memory pool units, each of which can contain the same number of data objects. Each memory pool unit can be seen as an array of data objects. The method can include data splitting, which could be maximal array splitting in each different memory pool unit. Finally, the method can include three different approaches, including field padding, field padding and field splitting, to handle irregular field sizes in the data structure.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 4.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for data splitting recursive data structures, the method comprising: identifying a data object of a recursive data structure type within source code, the recursive data structure type defining a plurality of data fields; grouping the data objects of the same data type into a set of memory pool units, each of which containing an identical number of data objects, the data objects in each of the memory pool units forming an array, by inserting a call to initialize a memory pool unit set for the data object of the identified recursive data structure type, replacing an allocation call for
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (4)
Non-Patent Literature (3)
- Lattner et al., "Automatic Pool Allocation for Disjoint Data Structure", 2002, CiteSeerX, pp. 1-12.
- Luk, Chi-Keung, et al; Compiler-Based Prefetching for Recursive Data Structures; ASPLOS VII Oct. 1996, ACM.
- Michael D. Ernst, "Dynamically Discovering Likely Program Invariants", 2000, University of Wahington, WA, pp. i-vi, 1-128.