Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: Re: Re: how can I speed up this perl??

by moxliukas (Curate)
on Nov 24, 2003 at 11:41 UTC ( #309503=note: print w/replies, xml ) Need Help??

in reply to Re: Re: how can I speed up this perl??
in thread how can I speed up this perl??

You access the data by supplying the hash key. so print $counts{tt}; would print the frequency of tt occurences.

Replies are listed 'Best First'.
Re: Re: Re: Re: how can I speed up this perl??
by Anonymous Monk on Nov 24, 2003 at 11:47 UTC
    thanks for your patience moxliukas, but this is what i have been doing, and I dont get a total count, I get a list of presence / absence numbers instead e.g. 00000000000100000000000000010000000000000000001000000000001
      Could you post the code, then, because this ought to be working. A couple quick things to check: you are ++'ing the value (not just setting it to 1 or something).

      Not an editor command: Wq

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2020-06-04 18:55 GMT
Find Nodes?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?

    Results (35 votes). Check out past polls.