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 BAA26013; Sun, 6 Jan 2002 01:51:28 +0100 (MET) 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 BAA26206 for ; Sun, 6 Jan 2002 01:51:27 +0100 (MET) Received: from mbg.sphere.ne.jp (mbg.sphere.ne.jp [203.138.71.44]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g060pPT28825 for ; Sun, 6 Jan 2002 01:51:26 +0100 (MET) Received: from localhost (pl149.nas521.k-tokyo.nttpc.ne.jp [210.165.66.149]) by mbg.sphere.ne.jp (8.9.3+3.2W/3.7W) with ESMTP id JAA03574; Sun, 6 Jan 2002 09:51:04 +0900 (JST) To: mattias.waldau@abc.se Cc: caml-list@inria.fr Subject: Re: [Caml-list] Non-mutable strings In-Reply-To: References: <20020104144617.G941@pauillac.inria.fr> X-Mailer: Mew version 1.94.2 on XEmacs 21.1 (Capitol Reef) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20020106070100E.yoriyuki@ms.u-tokyo.ac.jp> Date: Sun, 06 Jan 2002 07:01:00 +0900 From: YAMAGATA yoriyuki X-Dispatcher: imput version 991025(IM133) Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk From: "Mattias Waldau" Subject: [Caml-list] Non-mutable strings Date: Sat, 5 Jan 2002 12:19:45 +0100 > If so, I wonder why not the standard strings of Ocaml are nonmutable? > It works fine for languages like Visual Basic, and Visual Basic has > great string performance compared to languages like C++. camomile (http://camomile.sourceforge.net) has an immutable string type for ISO-UCS. For fast concatenation, camomile provides Ubuffer module similar to Buffer module in standard libraries. Unlike Buffer.t, you can access individual characters in Ubuffer.t by a cursor. -- YAMAGATA, yoriyuki (doctoral student) Department of Mathematical Science, University of Tokyo. ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr