Re: Moving data into new package/image version
Posted by
Mariano Martinez Peck on
May 16, 2012; 9:46pm
URL: https://forum.world.st/Moving-data-into-new-package-image-version-tp4628820p4630570.html
On Wed, May 16, 2012 at 10:37 PM, Sean P. DeNigris
<[hidden email]> wrote:
Mariano Martinez Peck wrote
>
> Sorry, I don't have ideas of how to solve that.
I ended up using OB to rename the classes in the old image to match the new
class names in the new image, then serialized with ReferenceStream, then
deserialized in the new image.
Good idea!
Mariano Martinez Peck wrote
> I can only say
> that Fuel *does* suppor that type of problem
Would Fuel be better than ReferenceStream for persistence?
Yes, much better.
I thought the use
case was saving rarely, but loading often; where serialization is balanced
between the two.
Well, even if that's true, that doesn't mean that Fuel serialization is slow. In fact, it is between 5x and 10x faster than ReferenceStream ;) and like 30x when loading. (I should check the paper for the numbers..i don't remember them).
Fuel is *much* faster than ReferenceStream while also providing more features (as the one you have just experimented).
--
View this message in context: http://forum.world.st/Moving-data-into-new-package-image-version-tp4628820p4630561.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
--
Mariano
http://marianopeck.wordpress.com