Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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.

Replies are listed 'Best First'.
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://680547]
shmem eb viernes y en martes no te cases ni te embarques. Same.
[shmem]: *en

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (11)
As of 2018-05-23 20:46 GMT
Find Nodes?
    Voting Booth?