in reply to Unpacking small chucks of data quickly

Thanks all for your help. I was silly to manually vivify the array ref. I tried a few variants, but I cannot squeeze out the performance that I want. Maybe the problem can be solved on the writing end: Is they a good (best!) way to store a hash of variable-length arrays of unsigned integers? Instead of key,value pairs with redundant keys? -poster
  • Comment on Re: Unpacking small chucks of data quickly

Replies are listed 'Best First'.
Re^2: Unpacking small chucks of data quickly
by ikegami (Patriarch) on Nov 20, 2007 at 00:50 UTC

    And what kind of performance are you looking for? (The current method takes 2.5s for 8MB — so ~30s for 100MB — on loaded web server.)

Re^2: Unpacking small chucks of data quickly
by ikegami (Patriarch) on Nov 20, 2007 at 00:39 UTC
    What are you trying to do with the data?