Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: Fast data structure..!!!

by moritz (Cardinal)
on Apr 15, 2008 at 15:53 UTC ( #680547=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Fast data structure..!!!
in thread Fast data structure..!!!

Get a faster computer. On my notebook (about 1 year old, 2 GHz CPU and enough RAM) this takes about 1.6 seconds. I don't say that boast, but rather to tell you that your hardware isn't up to date.

And are you sure that you actually access all items of that data structure? Right now you just build it up, but don't use it, so there's no way for us to tell.


Comment on Re^3: Fast data structure..!!!
Re^4: Fast data structure..!!!
by kyle (Abbot) on Apr 15, 2008 at 16:22 UTC

    It may run that fast because the OP didn't supply a value for $dp. I pasted the code into a file that has use strict at the top, and it blew up immediately.

      Well, he wrote that it's the real code. If it's not, I can't help. Sorry.
        ok, may you have right i should write all the code..offcourse i declare all the values and use strict..Sometimes i think that these things are standar in this palce..

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2014-08-30 03:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (291 votes), past polls