Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Blog post on Big-O accuracy

55 views
Skip to first unread message

Ozan Sazak

unread,
Nov 29, 2023, 11:59:00 AM11/29/23
to reading-stacks
Hi all. In last week's session I mentioned that Big-O notation is not exactly mapping to the code run time in a machine with multiple levels of memory (L1-2 in CPU core -> L3 in CPU -> RAM -> hard drive).

There's a blog post experimenting random memory access inside a linked list and claiming that the random memory access is O(√N) instead of O(1), and iterating through a linked list is O(N√N) in practice

Alperen Keles

unread,
Nov 29, 2023, 12:38:39 PM11/29/23
to reading-stacks
This warning in part 3 is pretty important IMO.
Screenshot 2023-11-29 at 12.36.30 PM.png
Reply all
Reply to author
Forward
0 new messages