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 mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 93DBEBBAF for ; Sun, 5 Apr 2009 23:37:16 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: At4GAJrB2EnZSMDqZGdsb2JhbACBUpRHGgsDBwcPBbFHhA8G X-IronPort-AV: E=Sophos;i="4.39,327,1235948400"; d="scan'208";a="37912816" Received: from fmmailgate03.web.de ([217.72.192.234]) by mail4-smtp-sop.national.inria.fr with ESMTP; 05 Apr 2009 23:37:16 +0200 Received: from smtp07.web.de (fmsmtp07.dlan.cinetic.de [172.20.5.215]) by fmmailgate03.web.de (Postfix) with ESMTP id 7A07AFA01EEF; Sun, 5 Apr 2009 23:37:15 +0200 (CEST) Received: from [78.43.226.218] (helo=frosties.localdomain) by smtp07.web.de with asmtp (TLSv1:AES256-SHA:256) (WEB.DE 4.110 #277) id 1Lqa1j-0000KC-00; Sun, 05 Apr 2009 23:37:15 +0200 Received: from mrvn by frosties.localdomain with local (Exim 4.69) (envelope-from ) id 1Lqa1j-0007Zg-05; Sun, 05 Apr 2009 23:37:15 +0200 From: Goswin von Brederlow To: Romain Beauxis Cc: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Strings References: <200904031256.33357.jon@ffconsultancy.com> <1238836474.6250.11.camel@Blefuscu> <200904050914.17886.toots@rastageeks.org> Date: Sun, 05 Apr 2009 23:37:14 +0200 In-Reply-To: <200904050914.17886.toots@rastageeks.org> (Romain Beauxis's message of "Sun, 5 Apr 2009 09:14:17 +0200") Message-ID: <87r606bx4l.fsf@frosties.localdomain> User-Agent: Gnus/5.110006 (No Gnus v0.6) XEmacs/21.4.21 (linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: goswin-v-b@web.de X-Sender: goswin-v-b@web.de X-Provags-ID: V01U2FsdGVkX19n31V3GBWDWM9QgrUdGiGAej8E7G/Tq6io0T8O iwbrCmEIrpVjxlhFpHL8yCy6DXUXMZj9fEZEBfb9CFr7kdiU2D DRuvMLwQA= X-Spam: no; 0.00; ocaml:01 read-only:01 2009:98 mfg:98 caml-list:01 immutable:01 writes:01 strings:01 strings:01 lazy:02 slower:02 api:02 manipulate:04 wether:04 exists:05 Romain Beauxis writes: > Le Saturday 04 April 2009 11:14:34 David Rajchenbach-Teller, vous avez écrit : >> Note that Batteries provides >> * regular OCaml strings >> * strings with capabilities (i.e. strings which, depending on their >> type, can be read-only/write-only/read-write) -- sometimes faster than >> regular strings, never slower >> * immutable Unicode ropes. > > Impressive ! > > I am taking this opportunity to ask wether there exists a String-compatible > API that would in fact manipulate lazy strings, i.e. strings which content is > read on-the-fly ? > > > Romain mmap? MfG Goswin