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

Lucas Galfaso commented on FELIX-3202:
--------------------------------------

I think that the reason SFilter is faster in the static version than the 
current implementation is that in the current implementation a lot of time is 
spend copying the bundle capabilities from one set to another.
Note: I do see that if an index is hit, then this is a big performance 
improvement (in fact, it looks like there are some small hacking here and there 
so the indexed attribute is hit first), so I know that keeping this is critical.
                
> Add generic type information to SimpleFilter
> --------------------------------------------
>
>                 Key: FELIX-3202
>                 URL: https://issues.apache.org/jira/browse/FELIX-3202
>             Project: Felix
>          Issue Type: Improvement
>          Components: Framework
>            Reporter: Lucas Galfaso
>            Priority: Minor
>         Attachments: felix_java5_filter.diff
>
>
> SimpleFilter does not have Java 5 generic type information and it is very 
> hard to add this to the current implementation.
> Devise a way to add generate type information to SimpleFilter while keeping 
> in mind that this is a critical component and any performance degradation 
> would slow down the entire framework

--
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