[Pharo-project] Prune stack serialization

2011-12-02 Thread Martin Dias
Hi folks In Fuel, we serialize a block closure with its state, including its outerContext. This enables to serialize a sorted collection with its sortBlock: | bytes result | bytes := FLSerializer serializeToByteArray: (SortedCollection sortBlock: [:a :b | a b ]). result := FLMaterializer

Re: [Pharo-project] Prune stack serialization

2011-12-02 Thread Nicolas Cellier
2011/12/2 Martin Dias tinchod...@gmail.com: Hi folks In Fuel, we serialize a block closure with its state, including its outerContext. This enables to serialize a sorted collection with its sortBlock: | bytes result | bytes := FLSerializer serializeToByteArray: (SortedCollection sortBlock:

Re: [Pharo-project] Prune stack serialization

2011-12-02 Thread Eliot Miranda
On Fri, Dec 2, 2011 at 10:20 AM, Nicolas Cellier nicolas.cellier.aka.n...@gmail.com wrote: 2011/12/2 Martin Dias tinchod...@gmail.com: Hi folks In Fuel, we serialize a block closure with its state, including its outerContext. This enables to serialize a sorted collection with its