in reply to Re: Numeric limits in perl
in thread Numeric limits in perl

And what is more, consider the following:

Assume that your code (I mean his) could evaluate 1000 reactions per second. We would be looking at 861... days! of computation. Even if you could farm out the m side of the matrix to 30 different machines you'd still be looking at 28 days of computation.

Something clever is called for. I would imagine a lot of the search space will contain garbage. Something to prune the space will be a big help, like minimax or GAs. So the question is, npiazza, what are you trying to accomplish?

_____________________________________________
Come to YAPC::Europe 2003 in Paris, 23-25 July 2003.

  • Comment on Re:x2 Numeric limits in perl (not to mention speed limits)

Replies are listed 'Best First'.
Re: Re:x2 Numeric limits in perl (not to mention speed limits)
by Elian (Parson) on Mar 26, 2003 at 14:47 UTC
    Given the subject of the original, I have no doubt that he doesn't need to fully populate the array, but is instead representing a sparse solution space based on a set of input data. Fully representing the array is not necessary in this case, you just have to be able to store data at any of the arbitrarily indexed locations and fetch it back later, along with potential default values for locations that are read from before being stored to.

    The problem's less of an issue than it might seem--more than anything else the limiting factor is the number of real elements stored, not the potential number of places data could be stored into.