[Python-Dev] CPython optimization: storing reference counters outside of objects
Nick Coghlan
ncoghlan at gmail.com
Tue May 24 07:07:03 CEST 2011
On Tue, May 24, 2011 at 8:33 AM, Sturla Molden <sturla at molden.no> wrote:
> Den 24.05.2011 00:07, skrev Artur Siekielski:
>>
>> Oh, and using explicit shared memory or mmap is much harder, because
>> you have to map the whole object graph into bytes.
>
> It sounds like you need PYRO, POSH or multiprocessing's proxy objects.
Indeed. Abstractions over mmap (local machine sharing) and
serialisation (remote sharing) are likely to be far more beneficial in
this area than trying to change the underlying memory model to support
copy-on-write.
Cheers,
Nick.
--
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
More information about the Python-Dev
mailing list