US 11,720,501 B2
Cache replacement based on traversal tracking
Brian R. Mestan, Austin, TX (US); and Peter G. Soderquist, Natick, MA (US)
Assigned to Apple Inc., Cupertino, CA (US)
Filed by Apple Inc., Cupertino, CA (US)
Filed on Aug. 5, 2022, as Appl. No. 17/817,748.
Application 17/817,748 is a continuation of application No. 17/372,356, filed on Jul. 9, 2021, granted, now 11,429,535.
Prior Publication US 2023/0012199 A1, Jan. 12, 2023
This patent is subject to a terminal disclaimer.
Int. Cl. G06F 12/1009 (2016.01); G06F 12/1027 (2016.01); G06F 12/02 (2006.01); G06F 12/0817 (2016.01); G06F 12/128 (2016.01); G06F 12/0811 (2016.01); G06F 12/0802 (2016.01)
CPC G06F 12/1009 (2013.01) [G06F 12/0238 (2013.01); G06F 12/0802 (2013.01); G06F 12/0811 (2013.01); G06F 12/0824 (2013.01); G06F 12/1027 (2013.01); G06F 12/128 (2013.01); G06F 2212/60 (2013.01)] 20 Claims
OG exemplary drawing
 
1. An apparatus, comprising:
one or more processors; and
one or more memories having instructions stored thereon that are executable by the one or more processors to:
perform multiple searches of a data structure, wherein one or more of the searches traverse multiple links between elements of the data structure;
cache, in a traversal cache, traversal information that is usable by searches to skip one or more links traversed by one or more prior searches;
store tracking information that indicates a location in the traversal cache at which prior traversal information for a first search is stored; and
select, based on the tracking information, an entry in the traversal cache for new traversal information generated by the first search.