Techniques for efficiently accessing values spanning slabs of memory
AssigneeNetflix, Inc.
InventorJohn Andrew Koszewnik
Life of this patent
Estimating the term…
Loading patent…
AssigneeNetflix, Inc.
InventorJohn Andrew Koszewnik
Estimating the term…
In various embodiments, a memory pool application implements composite arrays via a memory pool that includes a first slab and a second slab. First, the memory pool application assigns the first slab and the second slab to a composite array. The memory pool application then modifies a final data word included in the first slab to store a first portion of a specified value and a leading data word included in the second slab to store a second portion of the specified value. The memory pool application copies the second data word to a duplicate data word included in the first slab. Subsequently, the memory pool application performs an unaligned read operation on the first slab based on a specified offset to retrieve a first word stored in memory and extracts the specified value from the first word based on the specified offset and a specified number of bits.
A computer-implemented method, comprising:
One or more non-transitory computer-readable media including instructions that, when executed by one or more processors, cause the one or more processors to perform the steps of:
A system, comprising:
Dependencies are inferred from the claim text.