Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re^6: Need help with Algorithm::Permute and openssl

by wdef2 (Acolyte)
on Jan 18, 2008 at 01:11 UTC ( #662995=note: print w/replies, xml ) Need Help??

in reply to Re^5: Need help with Algorithm::Permute and openssl
in thread Need help with Algorithm::Permute and openssl

Hold everything!

It turns out it DOES eventually find "art" if I just leave it running long enough, so I was going off half-cocked.

What threw me was that it is taking so much longer than my non-module lisp-like version. It's taking 7,758 perms to get to 'art' (same number twice).

But the module-free version started with 'a' and worked its way through alpabetically, thus getting to art very quickly. Without thinking, I was expecting Permute to get there even faster, but the man page says there's no guarantee about the order that the module produces perms.

So I guess it's working as expected.

My apologies, my bad.. Thanks for the responses.
  • Comment on Re^6: Need help with Algorithm::Permute and openssl

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://662995]
[LanX]: ... treid to make smalltalk and felt like Sheldon.
erix looks up Sheldon ...
[erix]: ah. well, that must feel nice, no? ;)
[erix]: not the best way to make friends, though (I suppose)
LanX Fun with Flags anyone?

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2018-03-22 18:49 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (283 votes). Check out past polls.