> And I’m aware of how important they are
Actually, linked lists have recently become completely unimportant! :) ... due to the mind-bogglingly high cost of cache misses on modern memory architectures. Linked lists tend to maximize cache misses, at least compared to the much more compact vectors.
This is analysed in more detail in The 10**21 Problem (Part 3) where Stroustrup noted that on modern memory architectures, C++ linked lists are typically 50 to 100 times slower than vectors.
Update: Much later I remembered Re: Data structures in Perl. A C programmer's perspective. (vector vs linked list performance).
In reply to Re^3: [OT:] Is this Curriculum right?
by eyepopslikeamosquito
in thread [OT:] Is this Curriculum right?
by karlgoethebier
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |