From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id ABB11BC6B for ; Tue, 9 Oct 2007 15:49:39 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAG8jC0fUnw7Ulmdsb2JhbACCN4wRAgEBBwQGEREH X-IronPort-AV: E=Sophos;i="4.21,249,1188770400"; d="scan'208";a="4262215" Received: from ptb-relay01.plus.net ([212.159.14.212]) by mail3-smtp-sop.national.inria.fr with ESMTP; 09 Oct 2007 15:49:38 +0200 Received: from [80.229.56.224] (helo=beast.local) by ptb-relay01.plus.net with esmtp (Exim) id 1IfFSs-0005wp-Dc for caml-list@yquem.inria.fr; Tue, 09 Oct 2007 14:49:38 +0100 From: Jon Harrop Organization: Flying Frog Consultancy Ltd. To: caml-list@yquem.inria.fr Subject: Re: Rope is the new string Date: Tue, 9 Oct 2007 14:40:48 +0100 User-Agent: KMail/1.9.7 References: <1191879429.28011.27.camel@rosella.wigram> <1191886669.26491.29.camel@rosella.wigram> <20071009.122004.251675959.Christophe.Troestler+ocaml@umh.ac.be> In-Reply-To: <20071009.122004.251675959.Christophe.Troestler+ocaml@umh.ac.be> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200710091440.48381.jon@ffconsultancy.com> X-Spam: no; 0.00; christophe:01 troestler:01 buffer:01 ocaml:01 buffer:01 frog:98 wrote:01 wrote:01 strings:01 strings:01 implemented:02 string:02 expressions:04 tue:06 misses:07 On Tuesday 09 October 2007 11:20:04 Christophe TROESTLER wrote: > On Tue, 09 Oct 2007 09:37:49 +1000, skaller wrote: > > If you use Buffer for concatenation you'll get faster times than > > Ocaml (^) operator on strings, but what this misses is that other > > operations on strings (such as searching, substring etc etc) > > aren't available for Buffer. > > The other operations are implemented for ropes (except regular > expressions which will happen when I have some time or some help!) Out of curiosity, do your ropes handle UTF-8 and UTF-16? -- Dr Jon D Harrop, Flying Frog Consultancy Ltd. http://www.ffconsultancy.com/products/?e