[squeak-dev] The Trunk: EToys-ul.232.mcz

Bert Freudenberg bert at freudenbergs.de
Mon Sep 12 20:27:42 UTC 2016


On Sun, Sep 11, 2016 at 7:15 PM, <commits at source.squeak.org> wrote:

> Levente Uzonyi uploaded a new version of EToys to project The Trunk:
> http://source.squeak.org/trunk/EToys-ul.232.mcz
>
> ==================== Summary ====================
>
> Name: EToys-ul.232
> Author: ul
> Time: 11 September 2016, 7:15:09.419613 pm
> UUID: 666e68e0-6e23-4f51-88d8-bdb6b9f4bd0e
> Ancestors: EToys-dtl.231
>
> (hopefully) Shave off a few extra minutes of EToys loading by using
> Schwartzian transform in Morph class >> #unfilteredCategoriesForViewer.
> The real culprit is the "new" implementation of String >> #translated,
> which came with the EToys changes and is at least two magnitudes slower
> than the previous implementation.
>
>
Ah. #translated relies on the translation dictionaries actually being
loaded. If it doesn't find the translation in the default dict, it scans
all other dictionaries which is indeed very slow.

So while this is a great improvement, we maybe should have a fast
#translated fail code if there are no translations at all.

- Bert -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20160912/159b9ef0/attachment.htm


More information about the Squeak-dev mailing list