Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^6: Representing all data as Lists

by Anonymous Monk
on Sep 20, 2005 at 23:28 UTC ( #493620=note: print w/replies, xml ) Need Help??


in reply to Re^5: Representing all data as Lists
in thread Representing all data as Lists (Perl7?)

And in my exercise, we are fixing two computers & two competing algorithms, and varying only the input sizes to these algorithms. So I prefer to treat memory lookup time as a constant.
Sure, when you start performing your algorithmic analysis, there's nothing preventing from stating as an axiom...
  1. memory lookup is O(1)
  2. ...
Just be aware that this is an axiom after all and only true for a particular set of von Neumann type machines. Or stated another way, for certain given problems and the same finite amount of silicon, there are better ways to arrange the wires between the transistors (like say into a shift register instead of a tree (RAM)). And your complexity analysis (with Axiom #1 from above) will be incorrect and lead to answers which aren't consistent with the actual performance of the physical machine.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://493620]
help
Chatterbox?
[ambrus]: As in, high-ranking people have to coordinate a department, decide about tricky individual non-professional questions that come up, and submit proposals for grants. Secretaries are useful for helping in that.
[ambrus]: Corion: oh sure, a professor can still choose to do anything themselves if they have time and want to get it right.
[ambrus]: And most of them do write articles themselves at least.
[Corion]: ambrus: Yeah, they wrote articles themselves, but I think the TeX version of the articles was sometimes produced by the secretaries

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (9)
As of 2017-09-26 10:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (293 votes). Check out past polls.

    Notices?