News for hackers. Stuff that matters.
Re:Stop Using Linked Lists by marshray on Wednesday May 22, 2013 @03:02PM (#5753030)
It's even better with intrusive containers. As an extreme case, let's say we need a collection of 24 bit RGB triplets:

    struct node {
        uint8_t r, g, b;
        uint8_t idx_next;
    };
Of course, a contiguous array uint8_t[256][3] might still be faster.

There are no comments on this comment yet.