Basically, STON walks the graph noting each object it sees. When it encounters 
the same object again, it outputs a reference. Object equality is of course #==

References are integers, indexes into the list of objects seen, ordered by 
walking depth first.

Sven

> On 2 Nov 2016, at 19:14, Dimitris Chloupis <kilon.al...@gmail.com> wrote:
> 
> A question I was meaning to ask, how efficient is STON at storing references 
> , lets say I have an object that has instance variables that references 
> another object and that object has a instance variable that references 
> another object etc. Where exactly STON stops , or are there any limitations 
> 
> On Wed, Nov 2, 2016 at 7:58 PM Offray Vladimir Luna Cárdenas 
> <offray.l...@mutabit.com> wrote:
> Hi,
> 
> I'm using STON for my Grafoscopio[1][2] project with pretty good results. 
> It's flexible, readable and well supported and document. Better that JSON! 
> Pretty recommended.
> 
> [1] http://mutabit.com/grafoscopio/index.en.html 
> [2] http://smalltalkhub.com/#!/~Offray/Grafoscopio
> Cheers,
> Offray
> 
> On 02/11/16 12:50, sergio ruiz wrote:
>> The funny thing about STON is that, as a professional developer, I am so 
>> used to the whole world being a “hey, look! we have this too!!” world, that 
>> I never looked into it at all..
>> 
>> I should have knows that that Pharo/Smalltalk community would, instead of 
>> “me too” would say.. “look, here’s a cleaner, simpler, and more flexible way 
>> to do the thing..”
>> 
>> thanks, pharo/smalltalk community for being simple/flexible/clean !
>> 
>> On November 2, 2016 at 1:45:07 PM, Johan Fabry (jfa...@dcc.uchile.cl) wrote:
>> 
>>> The book also talks about other storage mechanisms, see 
>>> http://files.pharo.org/books/enterprise-pharo/ 
>>> 
>>> HTH,
>>> 
>> ----
>> peace,
>> sergio
>> photographer, journalist, visionary
>> 
>> Public Key: http://bit.ly/29z9fG0
>> #BitMessage BM-NBaswViL21xqgg9STRJjaJaUoyiNe2dV
>> http://www.Village-Buzz.com
>> http://www.ThoseOptimizeGuys.com
>> http://www.coffee-black.com
>> http://www.painlessfrugality.com
>> http://www.twitter.com/sergio_101
>> http://www.facebook.com/sergio101
> 


Reply via email to