Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264320AbTLVBlv (ORCPT ); Sun, 21 Dec 2003 20:41:51 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264321AbTLVBlv (ORCPT ); Sun, 21 Dec 2003 20:41:51 -0500 Received: from adsl-66-122-133-151.dsl.lsan03.pacbell.net ([66.122.133.151]:30134 "EHLO cocoabitch") by vger.kernel.org with ESMTP id S264320AbTLVBlu (ORCPT ); Sun, 21 Dec 2003 20:41:50 -0500 To: "linux-kernel@vger.kernel.org" Subject: Re: [OT] use of patented algorithms in the kernel ok or not? From: James Lamanna Content-Type: text/plain; charset=US-ASCII; format=flowed MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Date: Sun, 21 Dec 2003 17:43:51 -0800 Message-ID: User-Agent: Opera7.22/Win32 M2 build 3221 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 21 Dec 2003 14:40:40 -0500 Lennert Buytenhek wrote: > There is one already, and it's suboptimal, to say it mildly. What algorithm does the kernel currently use for prefix-matching? I'm interested now... And when you say suboptimal, what kind of difference are we talking? O(n) vs. O(1) lookups? James Lamanna