HomePhorge

Fix for #4506 -- too much data being serialized
e783a16fbc2cUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Fix for #4506 -- too much data being serialized

The serialization of much of the memory image was being triggered by a copy of
an unchanging method return value in an instance variable. I had introduced
this as a performance hack. The results were correct, but when the object was
serialized it took a huge amount of data with it (known_resource_types, and
from there...)

As the underlying costly operation is no longer being called (thanks to Paul and
Jesse) the caching is no longer a significant performance boost, and can thus
simply be removed.

Details

Provenance
Markus Roberts <Markus@reality.com>Authored on
James Turnbull <james@lovedthanlost.net>Committed on Aug 31 2010, 12:17 AM
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUf59cfc8533e2: Fixed terminus example documentation
Branches
Unknown
Tags
Unknown

Event Timeline

James Turnbull <james@lovedthanlost.net> committed rPUe783a16fbc2c: Fix for #4506 -- too much data being serialized (authored by Markus Roberts <Markus@reality.com>).Aug 31 2010, 12:17 AM