Device for storage and retrieval of compact contiguous tree index records
First Claim
1. In a data-processing system, a method executed by a data processor for fetching the size of an allocated contiguous section of memory, by decoding a sequence of bitmaps, said sequence of bitmaps located adjacent to a boundary of said section of memory, each of said bitmaps containing information describing whether that bitmap is last or not last in its sequence of bitmaps, each of said bitmaps containing information describing a length number, said method employing a radix number constant, said method comprising the steps of:
- (a) designating a bitmap adjacent to a boundary of said section of memory to be the current bitmap, then fetching said length number information contained within said current bitmap, initializing a multiplier number to one, initializing an accumulator number to zero, proceeding to step b,(b) multiplying said length number by said multiplier number and adding the result to an accumulator number, proceeding to step c,(c) reading the current bitmap to see whether or not the current bitmap is last in its sequence, then if the current bitmap is last in its sequence, proceeding to step d, otherwise proceeding to step f,(d) designating the next bitmap in said sequence to be the current bitmap, proceeding to step e,e) reading said current bitmap to fetch said length number information contained within, multiplying said multiplier number by said radix number, proceeding to step b,(f) returning the accumulator number as the size of said section.
4 Assignments
0 Petitions
Accused Products
Abstract
A system and methods for allocating and traversing tree structured data in contiguous portions of memory by encapsulating lower level subtrees within the memory allocated for their higher level parent trees. These encapsulated memory allocations are encoded with length descriptors at both lowest and highest ends in memory, so that allocated subtrees can be retrieved or skipped when scanning allocated subtrees in either lowest-to-highest or highest-to-lowest directions in memory. The length descriptors themselves are allocated variable amounts of memory by allocating additional multiplier bits to describe larger lengths. Smaller lengths can be described with a smaller number of bits. There is no limit to the size of length which can be described. Extra reserve memory may be allocated within some subtrees to localize the allocation of memory within those subtrees.
117 Citations
18 Claims
-
1. In a data-processing system, a method executed by a data processor for fetching the size of an allocated contiguous section of memory, by decoding a sequence of bitmaps, said sequence of bitmaps located adjacent to a boundary of said section of memory, each of said bitmaps containing information describing whether that bitmap is last or not last in its sequence of bitmaps, each of said bitmaps containing information describing a length number, said method employing a radix number constant, said method comprising the steps of:
-
(a) designating a bitmap adjacent to a boundary of said section of memory to be the current bitmap, then fetching said length number information contained within said current bitmap, initializing a multiplier number to one, initializing an accumulator number to zero, proceeding to step b, (b) multiplying said length number by said multiplier number and adding the result to an accumulator number, proceeding to step c, (c) reading the current bitmap to see whether or not the current bitmap is last in its sequence, then if the current bitmap is last in its sequence, proceeding to step d, otherwise proceeding to step f, (d) designating the next bitmap in said sequence to be the current bitmap, proceeding to step e, e) reading said current bitmap to fetch said length number information contained within, multiplying said multiplier number by said radix number, proceeding to step b, (f) returning the accumulator number as the size of said section. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)
-
Specification