English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Correct way of programming a CGI script
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-10-09 (13:49)
From: Jon Harrop <jon@f...>
Subject: Re: Rope is the new string
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.