Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 84231 invoked from network); 14 Nov 2006 22:32:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Nov 2006 22:32:00 -0000 Received: (qmail 61744 invoked by uid 500); 14 Nov 2006 22:32:08 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 61700 invoked by uid 500); 14 Nov 2006 22:32:08 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 61688 invoked by uid 99); 14 Nov 2006 22:32:08 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Nov 2006 14:32:08 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Nov 2006 14:31:57 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1688E7142D7 for ; Tue, 14 Nov 2006 14:31:37 -0800 (PST) Message-ID: <1938568.1163543497089.JavaMail.jira@brutus> Date: Tue, 14 Nov 2006 14:31:37 -0800 (PST) From: "paul constantinides (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Created: (LUCENE-711) BooleanWeight should size the weights Vector correctly MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org BooleanWeight should size the weights Vector correctly ------------------------------------------------------ Key: LUCENE-711 URL: http://issues.apache.org/jira/browse/LUCENE-711 Project: Lucene - Java Issue Type: Improvement Components: Search Affects Versions: 2.0.0, 1.9, 2.0.1, 2.1 Reporter: paul constantinides Priority: Trivial The weights field on BooleanWeight uses a Vector that will always be sized exactly the same as the outer class' clauses Vector, therefore can be sized correctly in the constructor. This is a trivial memory saving enhancement. -- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org