From dev-return-39912-apmail-directory-dev-archive=directory.apache.org@directory.apache.org Fri Jan 6 04:52:32 2012 Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 16F47BC41 for ; Fri, 6 Jan 2012 04:52:32 +0000 (UTC) Received: (qmail 52955 invoked by uid 500); 6 Jan 2012 04:52:29 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 52628 invoked by uid 500); 6 Jan 2012 04:52:11 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 52595 invoked by uid 99); 6 Jan 2012 04:52:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jan 2012 04:52:03 +0000 X-ASF-Spam-Status: No, hits=-2001.6 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jan 2012 04:52:00 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5792413A0B5 for ; Fri, 6 Jan 2012 04:51:39 +0000 (UTC) Date: Fri, 6 Jan 2012 04:51:39 +0000 (UTC) From: "Emmanuel Lecharny (Created) (JIRA)" To: dev@directory.apache.org Message-ID: <1741080709.13300.1325825499360.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (DIRSERVER-1683) Improve the way we process OR filters MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Improve the way we process OR filters ------------------------------------- Key: DIRSERVER-1683 URL: https://issues.apache.org/jira/browse/DIRSERVER-1683 Project: Directory ApacheDS Issue Type: Improvement Affects Versions: 2.0.0-M4 Reporter: Emmanuel Lecharny Fix For: 2.0.0 Currently, we use a HashMap to store the UUID of the entries we have already processed when handling a OR filter. This is memory consuming. We could use a slower but ess memory consuming algorithm : for each filter in the OR, we match the candidate against the filters we have already processed Doing so, we will avoid sending back duplicates. -- 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