shared memory module bugs?
phr-n2002b at NOSPAMnightsong.com
Wed Oct 9 03:40:34 CEST 2002
´ÐÜøÐÝ ³. <ßÕÝÓãØÝØáâÐ@ÜÐØÛ.ÝÕâ.ÜÚ> writes:
> I would use it if you can make it act like a dictionary, and also if you
> add the option of creating new objects in the shared memory pool.
> Is this possible with python? The last time I was looking you couldn't
> replace Python's memory manager in runtime.
The simplest way is to pickle dictionaries into the shared memory pool
(if the dictionaries are small), or else implement some
dictionary-like data structure in the shared memory pool "by hand".
More information about the Python-list