Closure serialization with ObjectDumper

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Closure serialization with ObjectDumper

Nicolas Petton
Hi,

I just tried to serialize a block closure with ObjectDumper...And I was
very pleased to see that it seems to work.

Now I didn't try anything special, just a very simple block, but is it
known to work?

Cheers!

Nico

_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

signature.asc (204 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Closure serialization with ObjectDumper

Paolo Bonzini-3
Nicolas Petton wrote:
> Hi,
>
> I just tried to serialize a block closure with ObjectDumper...And I was
> very pleased to see that it seems to work.
>
> Now I didn't try anything special, just a very simple block, but is it
> known to work?

I never tried, but there's no reason why it shouldn't, even for
Processes.  Of course, be careful as it can become pretty big since all
the receivers in the stack are serialized.

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk