Sorry, I don't understand the point you are trying to make. Are you suggesting that C++ vector is faster than linked list only for "small" containers? Note that Stroustrup measured up to half a million nodes, as confirmed in this talk by Herb Sutter (two years later). Herb likewise exhorts C++ programmers to prefer vector to linked list. Update: see also.
As a journeyman C++ programmer, I greatly admire both Bjarne Stroustrup and Herb Sutter for their many contributions to C++ over so many years, especially their work on language standardisation. When they both exhort you to use std::vector (and std::map) as your default containers, I pay attention. ... which BTW has a nice synergy with Perl. At least, I've always enjoyed using Perl's analogous default containers (built-in arrays and hashes) ... and never felt the urge to write my own linked list class in Perl. :)
In reply to Re^5: [OT:] Is this Curriculum right?
by eyepopslikeamosquito
in thread [OT:] Is this Curriculum right?
by karlgoethebier
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |