in reply to Re^3: Bizarre Array Size Disparity
in thread Bizarre Array Size Disparity

Thanks for the advice. I suppose I was hoping for some magical perl use like optimization that would make the array much small. Obviously such a thing doesn't exist.

Replies are listed 'Best First'.
Re^5: Bizarre Array Size Disparity
by BrowserUk (Patriarch) on May 17, 2012 at 18:12 UTC
    I was hoping for some magical perl use like optimization that would make the array much small.

    If you can tie the array before it gets built, you could use Tie::Array::Packed::DoubleNative which would give you the memory reduction of the packed string with the convenience of array index.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    The start of some sanity?

      Interesting, although I don't think I can do that. (I realize I may have no real recourse here)