[squeak-dev] The Trunk: EToys-ul.232.mcz
Levente Uzonyi
leves at caesar.elte.hu
Mon Sep 12 20:48:20 UTC 2016
On Mon, 12 Sep 2016, Bert Freudenberg wrote:
> 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.
Definitely that's the way to go.
Levente
>
> - Bert -
>
>
>
More information about the Squeak-dev
mailing list
|