Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^3: Data structures in Perl. A C programmer's perspective.

by eyepopslikeamosquito (Archbishop)
on Sep 07, 2013 at 04:13 UTC ( [id://1052797]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Data structures in Perl. A C programmer's perspective.
in thread Data structures in Perl. A C programmer's perspective.

RAM is not a random-access memory device! I'll need something in written to digest that!
The (still relevant) and classic paper What Every Programmer Should Know About Memory (pdf) by Ulrich Drepper should help you digest how memory really works on modern hardware. Or maybe it will give you indigestion. :) The summary is that cache misses on modern CPUs are mind-bogglingly expensive. Data locality is crucial. Update: Prefetching can help - see, for example, the "Prefetching" section at The 10**21 Problem (Part 3).

  • Comment on Re^3: Data structures in Perl. A C programmer's perspective.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1052797]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (6)
As of 2024-04-24 04:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found