help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] performance of the json parser


From: Stephen Compall
Subject: Re: [Help-smalltalk] performance of the json parser
Date: Mon, 05 Nov 2007 15:18:28 +0000

As discussed,

smalltalk--backstage--2.2--patch-70
    optionalize JSON outputEncoding

On Mon, 2007-11-05 at 11:26 +0100, Paolo Bonzini wrote:
> > Whats the magic behind 8?
> 
> Greater than 0. :-)

I picked the growCollection size for a WriteStream collection of size 0,
which is what was originally produced.

Speaking of which:

WriteStream class extend [
    onSpecies: aSpecies [
        ^self on: (aSpecies new: 8)
    ]
]

?  Since collection species needs to support #new: anyway....

-- 
Our last-ditch plan is to change the forums into a podcast, then send
RSS feeds into the blogosphere so our users can further debate the
legality of mashups amongst this month's 20 'sexiest' gadgets.
        --Richard "Lowtax" Kyanka

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]