The invention provides an implementation method of a
barrel type
linked list structure. The method is characterized in that a
linked list uses
barrel type structures as unit organization nodes, the positions of the previous node and the next node are pointed out by digital indexes among the nodes, and the
linked list can be serially connected by multiple
barrel type structures; during node adding, the idle positions in the barrel type structure are searched, and if the barrel type structure is full, another barrel type structure is created and data is saved into the barrel type structure; during
node deletion, the corresponding positions of the barrel type structure is set to be idle. Compared with traditional linked
list structure, the barrel type linked
list has the advantages that the barrel type linked
list can be managed by using the barrel type structure as unit, bidirectional connection in a pointer manner is avoided, node adding and deleting are quite fast and convenient, and during linked lift node traversing,
internal memory cache
hit ratio is increased while the operation efficiency of the a
software system is increased evidently due to the fact that the nodes are
internal memory continuous.