[etoys-dev] Translation support

Bert Freudenberg bert at freudenbergs.de
Tue May 4 14:21:15 EDT 2010


On 04.05.2010, at 10:48, Ricardo Moran wrote:
> Oh, yes that's right. In #translated we should do something like this, right?
> 
> thisContext sender method methodReference

Yes. Maybe it is not so expensive nowadays. But look at the #methodReference method, it uses #who, which used to iterate over all classes to find the method ... But it seems Eliot's changes do already cache the class as well as the method selector. 

Also, performance testing should be done on the XO-1 which is the slowest machine we need to support.

- Bert -


> On Tue, May 4, 2010 at 2:41 PM, Bert Freudenberg <bert at freudenbergs.de> wrote:
> On 04.05.2010, at 10:39, Ricardo Moran wrote:
>> 
>> 
>> On Tue, May 4, 2010 at 2:26 PM, Hilaire Fernandes <hilaire.fernandes at edu.ge.ch> wrote:
>> Is it really expensive ? I can't evaluate.
>> 
>> 
>> PackageOrganizer default packageOfMethod: aMethodReference
>> 
>> It took in my machine 25 milliseconds average (tested with all the methods with phrases to translate). 
> 
> 
> But in #translated you do not have the method reference yet.
> 
> - Bert -
> 
> 
> _______________________________________________
> etoys-dev mailing list
> etoys-dev at squeakland.org
> http://lists.squeakland.org/mailman/listinfo/etoys-dev
> 
> 




-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: http://lists.squeakland.org/pipermail/etoys-dev/attachments/20100504/d5161fdd/attachment.html


More information about the etoys-dev mailing list