Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 37188 invoked from network); 30 Jun 2010 20:57:44 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 30 Jun 2010 20:57:44 -0000 Received: (qmail 58771 invoked by uid 500); 30 Jun 2010 20:57:44 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 58664 invoked by uid 500); 30 Jun 2010 20:57:43 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 58657 invoked by uid 99); 30 Jun 2010 20:57:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jun 2010 20:57:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jun 2010 20:57:41 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o5UKnn0Q017468 for ; Wed, 30 Jun 2010 20:49:49 GMT Message-ID: <28066123.141301277930989337.JavaMail.jira@thor> Date: Wed, 30 Jun 2010 16:49:49 -0400 (EDT) From: "Marcel Reutegger (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Created: (JCR-2669) Improve reading of cached UUID for given document number 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 reading of cached UUID for given document number -------------------------------------------------------- Key: JCR-2669 URL: https://issues.apache.org/jira/browse/JCR-2669 Project: Jackrabbit Content Repository Issue Type: Improvement Components: jackrabbit-core Reporter: Marcel Reutegger Priority: Minor CachingIndexReader.document(int n, FieldSelector fieldSelector) creates a new Field from the cached UUID. The lucene Field implementation always does a String.intern() on the field name, which is quite slow. We should probably have our own implementation for that specific use case where we know that the name is already interned. e.g. UUIDField implements Fieldable. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.