in reply to Re^2: Parallel::ForkManager and vars from the parent script - are they accessible? (or do I need inter process communication?)
in thread Parallel::ForkManager and vars from the parent script - are they accessible? (or do I need inter process communication?)

Slow!? I thought it is fast, because everything is held in memory... (the on-disk approach is what I am trying to circumnavigate here...)
  • Comment on Re^3: Parallel::ForkManager and vars from the parent script - are they accessible? (or do I need inter process communication?)

Replies are listed 'Best First'.
Re^4: Parallel::ForkManager and vars from the parent script - are they accessible? (or do I need inter process communication?)
by perrin (Chancellor) on Aug 08, 2007 at 21:06 UTC
    It's slow because it has to serialize and deserialize the entire hash through Storable every time you want to read or write it to/from the shared memory slot. It's fine for a small hash, but a large one will get slow.