[squeak-dev] Transfer of binary data between images

Alan Pinch alan.c.pinch at gmail.com
Sat Oct 21 16:00:04 UTC 2017


There reason I suggested ASN1 is that it is crosee-platofrm, if that is 
your requirement. I believe it is effectively binary, for your needs of 
lots of Floats and I just added support for them too. If you need that...


On 10/21/2017 11:38 AM, Herbert König wrote:
> Hi Hannes,
>
> Am Sat, 21 Oct 2017 15:05:19 +0200
> schrieb "H. Hirzel" <hannes.hirzel at gmail.com>:
>
>> And noteworthy in addition is that in case you do not have cycles in
>> your net of objects a DataStream is just fine.
>>
>> http://wiki.squeak.org/squeak/4310
> Which I don't have so maybe this is even faster because it doesn't
> employ any logic to deal with cycles.
>
> Thanks,
>
> Herbert
>
>
>> --Hannes
>>
>> On 10/21/17, Herbert König <herbertkoenig at gmx.net> wrote:
>>> Thanks all,
>>>
>>> first I'll try Edgar's way. Nothing new to load/learn and I used
>>> ReferenceStream earlier.
>>>
>>>
>>> Cheers,
>>>
>>>
>>> Herbert
>>>
>>>
>>> Am 20.10.2017 um 12:18 schrieb Herbert König:
>>>> Hi all,
>>>>
>>>> I want to spread an algorithm over several images. For that I need
>>>> to transfer some objects.
>>>>
>>>> For other purposes I already read and write objects via JSON
>>>> files. To change this to UDP is straightforward. But the
>>>> conversion to JSON and back takes considerable time, biggest chunk
>>>> of data is an array with floats.
>>>>
>>>> Is there a fast and easy way to transfer objects binary between
>>>> images? I can transfer only the array of floats (maybe a float
>>>> array) if that saves time.
>>>>
>>>>
>>>> Thanks,
>>>>
>>>>
>>>> Herbert
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>

-- 
Thank you for your consideration,
Alan



More information about the Squeak-dev mailing list