You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Justin Mclean (JIRA)" <ji...@apache.org> on 2013/10/23 06:38:45 UTC

[jira] [Commented] (FLEX-33835) LocaleSorter#sortLocalesByPreference is slow

    [ https://issues.apache.org/jira/browse/FLEX-33835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13802596#comment-13802596 ] 

Justin Mclean commented on FLEX-33835:
--------------------------------------

Do you have a sample test application you could share?

> LocaleSorter#sortLocalesByPreference is slow
> --------------------------------------------
>
>                 Key: FLEX-33835
>                 URL: https://issues.apache.org/jira/browse/FLEX-33835
>             Project: Apache Flex
>          Issue Type: Improvement
>          Components: Mobile: Performance, Performance: Framework
>    Affects Versions: Apache Flex 4.11.0
>         Environment: Mobile (Air ios), Desktop
>            Reporter: Benoit Wiart
>            Assignee: Justin Mclean
>              Labels: mobile, perfomance
>         Attachments: 0001-localesorter-optimization.patch, localesorter.png
>
>
> LocaleSorter#sortLocalesByPreference is slow and creates a lot of allocations
> See the scout screenshot on ios / Ipad2 with ONLY 4 compiled locales (657ms).
> with the patch, on my desktop (with about 50 compiled locales ) time went from 180ms to 15ms.



--
This message was sent by Atlassian JIRA
(v6.1#6144)