in reply to Efficient shared memory - possible? how??

you can't ford()'d anything

use threads::shared, use forks::shared

  • Comment on Re: Efficient shared memory - possible? how??

Replies are listed 'Best First'.
Re^2: Efficient shared memory - possible? how??
by cnd (Acolyte) on Feb 20, 2012 at 11:09 UTC
    Are you sure those are efficient? Looks like they're "serializing" (or at least duplicating everything) to me, and there doesn't seem to be any discussion about *how* they work?
    $it = $SHARED_CACHE{$ordinal}; ... return $it;

    ford/fork... listent to what I *mean*, not what I *say* :-)