[
https://issues.apache.org/jira/browse/FELIX-3447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guillaume Nodet updated FELIX-3447:
-----------------------------------
Attachment: felix-screen-01.png
Screenshot after optimization
> 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
> Components: Framework
> Affects Versions: framework-4.0.2
> Reporter: Guillaume Nodet
> Priority: Minor
> Fix For: framework-4.2.0
>
> Attachments: FELIX-3447.patch, felix-screen-01.png,
> felix-screen-02.png
>
>
> 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