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 (10:20)
From: Christophe TROESTLER <Christophe.Troestler+ocaml@u...>
Subject: Re: [Caml-list] Correct way of programming a CGI script
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!)

> Note that Python strings are immutable,

So are ropes.