Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 84471 invoked from network); 5 Apr 2007 02:23:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Apr 2007 02:23:29 -0000 Received: (qmail 35698 invoked by uid 500); 5 Apr 2007 02:23:33 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 35380 invoked by uid 500); 5 Apr 2007 02:23:32 -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 Delivered-To: moderator for java-dev@lucene.apache.org Received: (qmail 5597 invoked by uid 99); 5 Apr 2007 01:55:08 -0000 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) X-BrightmailFiltered: true X-IronPort-AV: i="4.14,373,1170651600"; d="scan'208,217"; a="54300790:sNHT56227304" X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C77725.5E917470" Subject: Lucene and Javolution: A good mix ? Date: Wed, 4 Apr 2007 21:54:08 -0400 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Lucene and Javolution: A good mix ? Thread-Index: Acd3JUzQXcRQDyobQnmq0g87n4PW7A== From: "Jean-Philippe Robichaud" To: X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C77725.5E917470 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello Dear Lucene coders! =20 Some of you may remember, I'm using lucene for a product (and many other internal utilities). I'm also using another open source library called Javolution (www.javolution.org ) which does many things, one of them being to offer excellent replacements for ArrayList/Map/... and a super good memory management extension to the java language. =20 As I'm [trying to] follow the conversations on this list, I see that many of you are working towards optimizing lucene in term of memory footprint and speed. I just finished optimizing my code (not lucene itself, but my code written on top of it) using Javolution PoolContext and the FastList/FastMap/... classes. The resulting speedup is a 6 times faster code. =20 Javolution make it easy to recycle objects and do some object allocation on the stack rather than on the head, which remove stress on the garbage collector. Javolution also offers 2 classes (Text and TextBuilder) to replace String/StringBuffer which are perfect for anything related to string manipulation and some C "union/struct" equivalent for java. The thing is really great. =20 Would anyone be interested in doing Lucene a face lift and start using javolution as a core lucene dependency? I understand that right now, lucene is free of any dependencies, which is quite great, but anyone interested in doing fast/lean/stable java application should seriously consider using javolution anyway. =20 Any thoughts? =20 Jp ------_=_NextPart_001_01C77725.5E917470--