You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Alex Karasulu (JIRA)" <di...@incubator.apache.org> on 2005/10/16 08:13:44 UTC

[jira] Created: (DIREVE-275) [Performance] Add SearchResultFilter instead of rewrapping SearchResultFilterEnumerations

[Performance] Add SearchResultFilter instead of rewrapping SearchResultFilterEnumerations
-----------------------------------------------------------------------------------------

         Key: DIREVE-275
         URL: http://issues.apache.org/jira/browse/DIREVE-275
     Project: Directory Server
        Type: Improvement
  Components: interceptors  
    Reporter: Alex Karasulu
 Assigned to: Alex Karasulu 
    Priority: Minor


A few interceptors wrap the enumeration to be returned by list() and search() operations to have SearchResultFilters operate on candidate entries to be returned.  To do so these interceptors wrap the enumeration with a SearchResultFilterEnumeration.  If the returned enumeration is already a SearchResultFilterEnumeration then there is no need to wrap it.  Instead the additional filter can be added to the SearchResultEnumeration.  This would save some wasted objects and cycles.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (DIREVE-275) [Performance] Add SearchResultFilter instead of rewrapping SearchResultFilterEnumerations

Posted by "Alex Karasulu (JIRA)" <di...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/DIREVE-275?page=all ]
     
Alex Karasulu closed DIREVE-275:
--------------------------------

    Fix Version: 0.9.4
     Resolution: Fixed

Did this a while back.

> [Performance] Add SearchResultFilter instead of rewrapping SearchResultFilterEnumerations
> -----------------------------------------------------------------------------------------
>
>          Key: DIREVE-275
>          URL: http://issues.apache.org/jira/browse/DIREVE-275
>      Project: Directory Server
>         Type: Improvement
>   Components: interceptors
>     Reporter: Alex Karasulu
>     Assignee: Alex Karasulu
>     Priority: Minor
>      Fix For: 0.9.4

>
> A few interceptors wrap the enumeration to be returned by list() and search() operations to have SearchResultFilters operate on candidate entries to be returned.  To do so these interceptors wrap the enumeration with a SearchResultFilterEnumeration.  If the returned enumeration is already a SearchResultFilterEnumeration then there is no need to wrap it.  Instead the additional filter can be added to the SearchResultEnumeration.  This would save some wasted objects and cycles.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira