Chain table structure in pjlib

Source: Internet
Author: User

The linked list structure of pjlib differs from the common linked list structure, as shown in:

?

?

?

?

?

?

Figure 1: General linked list Structure

?

?

?

?

?

Figure 2: linked list structure in pjlib

We can see that the common two-way linked list node contains the data domain, while pjlib contains the data domain containing the linked list node. Generally, the linked list pointer field is the pointer of the linked list structure, while pjlib is the pointer of the data structure. I have not yet realized the advantages of this structure. I may have to understand it slowly, but my understanding of the chain table header is somewhat confusing. The linked list header is a separate list, And Prev and next point to the data structure containing the list. This structure is always strange to me.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.