flâneur — a map of the web's best reading

The true cost of linked lists · YKarroum

ykarroum.com · 2,798 words · saved by 1 readers

Linked lists are often overused in introductory algorithmics courses, due to a heavy focus on theorical complexities. Unfortunatly, in practice, computers are complex beasts. They don’t execute instructions sequentially 1 with the same cost 2. This means that a data structure with faster theorical complexities does not necessarily translate to a more efficient data structure in practice.

The true cost of linked lists · YKarroum Just another personal blog, where I write about python, c++ and other stuff. © 2024. All rights reserved. YKarroum The true cost of linked lists 30 May 2022 Linked lists are often overused in introductory algorithmics courses, due to a heavy focus on theorical complexities. Unfortunatly, in practice, computers are complex beasts. They don’t execute instructions sequentially 1 with the same cost 2 . This means that a data structure with faster theorical complexities does not necessarily translate to a more efficient data structure in practice

Explore this link on the map →

related reading