Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 89036 invoked from network); 11 Feb 2008 20:18:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Feb 2008 20:18:20 -0000 Received: (qmail 833 invoked by uid 500); 11 Feb 2008 20:18:13 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 784 invoked by uid 500); 11 Feb 2008 20:18:13 -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 773 invoked by uid 99); 11 Feb 2008 20:18:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Feb 2008 12:18:13 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ayyagarikiran@gmail.com designates 209.85.162.176 as permitted sender) Received: from [209.85.162.176] (HELO el-out-1112.google.com) (209.85.162.176) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Feb 2008 20:17:41 +0000 Received: by el-out-1112.google.com with SMTP id r27so2040283ele.5 for ; Mon, 11 Feb 2008 12:17:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; bh=q/aNDPm0h13pf55hWLsY6aLmtXSrapEjxd8rsTDF54E=; b=twq9cKoIX8zV4OwMMU9d0tkWfkGEfHgTgnc3/wkN2OWDEBE/vafdIjwyeh0KVrBrcTY0BNq46E/oJG+YbEYpaIP4j8+cov7/SUma91mgORirc1R6rLI5o0Qqj0V+MWmH2wEcOA6yI7zV8mGQ8kVV8LTs1psE/tt+2DK9pExnc9E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=PdkQzbKKLi1dQqBdw8qAjIc4B2c4IF1c4mi1gQsRC2KIZbj1zrDHJQuG/52PyUYZAquqWeG8YCrdk4vxfHHccqF4vfjoDeFFAXzDQhvj8WxDX+NGgg6yMsqnc3MCAVetZjG4ExVDTGAhabIc3tLJienr+qZVmYRwUxvViDcSOFQ= Received: by 10.115.79.1 with SMTP id g1mr491235wal.2.1202761068096; Mon, 11 Feb 2008 12:17:48 -0800 (PST) Received: from ?203.212.243.151? ( [203.212.243.151]) by mx.google.com with ESMTPS id m27sm3515171wag.50.2008.02.11.12.17.39 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 11 Feb 2008 12:17:47 -0800 (PST) Message-ID: <47B0AD54.6000100@gmail.com> Date: Tue, 12 Feb 2008 01:47:24 +0530 From: Kiran Ayyagari User-Agent: Thunderbird 1.5.0.14pre (X11/20071022) MIME-Version: 1.0 To: Apache Directory Developers List Subject: splay tree for duplicate key cursor implementation Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org hi Guys, During a discussion with Alex it was understood that implementing a linked splay tree for duplicate key cursor may not result in any performance gain. When we perform lookups on the splay tree (kept in memory after fetching the serialized version ) its structure changes due to splaying. This changed structure will be discarded without writing back to the disk to eliminate the write cost. This way it will not help us in any form to get the amortized time benefits. So we are thinking of using some kind of btree for the actual implementation. Thoughts? - Kiran Ayyagari