[ 
https://issues.apache.org/jira/browse/FELIX-3447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guillaume Nodet updated FELIX-3447:
-----------------------------------

    Attachment: FELIX-3447.patch

Attached is a patch which creates two immutable classes (list and map) and use 
those instead of wrappers.
                
> Optimize read only collections by using a specific class and not a wrapper 
> which is slower
> ------------------------------------------------------------------------------------------
>
>                 Key: FELIX-3447
>                 URL: https://issues.apache.org/jira/browse/FELIX-3447
>             Project: Felix
>          Issue Type: Improvement
>            Reporter: Guillaume Nodet
>         Attachments: FELIX-3447.patch
>
>
> The unmodifiable collection wrappers  are .. wrappers and as such add a 
> slight overhead.
> In the case of felix, the resolution process does use a lot of those maps for 
> bundle  capabilities and requirements and the overhead tends to become non 
> negligible.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to