From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id JAA01169; Wed, 28 Jul 2004 09:27:19 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id JAA00750 for ; Wed, 28 Jul 2004 09:27:18 +0200 (MET DST) Received: from smtp1.adl2.internode.on.net (smtp1.adl2.internode.on.net [203.16.214.181]) by nez-perce.inria.fr (8.12.10/8.12.10) with ESMTP id i6S7RFEV000782 for ; Wed, 28 Jul 2004 09:27:16 +0200 Received: from [192.168.1.200] (ppp205-61.lns1.syd3.internode.on.net [203.122.205.61]) by smtp1.adl2.internode.on.net (8.12.9/8.12.9) with ESMTP id i6S7R64Y054745; Wed, 28 Jul 2004 16:57:07 +0930 (CST) Subject: Re: [Caml-list] looping recursion From: skaller Reply-To: skaller@users.sourceforge.net To: Brian Hurt Cc: briand@aracnet.com, John Prevost , Ocaml Mailing List In-Reply-To: References: Content-Type: text/plain Message-Id: <1090999625.5870.852.camel@pelican.wigram> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-4) Date: 28 Jul 2004 17:27:06 +1000 Content-Transfer-Encoding: 7bit X-Miltered: at nez-perce with ID 41075553.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 recursion:01 sourceforge:01 2004:99 2004:99 9660:01 glebe:01 tokens:01 nsw:01 snail:02 match:02 match:02 checkout:02 overhead:03 2037:03 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Wed, 2004-07-28 at 11:43, Brian Hurt wrote: > On Tue, 27 Jul 2004 briand@aracnet.com wrote: > Very long lists are a sign that you're using the wrong data structure. What would you recommend for a sequence of tokens? Streams are slow and hard to match on.. bucket lists have lower storage overhead but hard to match on. -- John Skaller, mailto:skaller@users.sf.net voice: 061-2-9660-0850, snail: PO BOX 401 Glebe NSW 2037 Australia Checkout the Felix programming language http://felix.sf.net ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners