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=none 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 0C673BBAF for ; Sun, 5 Apr 2009 08:57:58 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8GAN/y10nZSMDjZmdsb2JhbACBUpRUDQsDBQkPBbMxhA8G X-IronPort-AV: E=Sophos;i="4.39,325,1235948400"; d="scan'208";a="25658660" Received: from fmmailgate02.web.de ([217.72.192.227]) by mail3-smtp-sop.national.inria.fr with ESMTP; 05 Apr 2009 08:57:57 +0200 Received: from smtp05.web.de (fmsmtp05.dlan.cinetic.de [172.20.4.166]) by fmmailgate02.web.de (Postfix) with ESMTP id ECEF6FC805D3; Sun, 5 Apr 2009 08:57:56 +0200 (CEST) Received: from [78.43.226.218] (helo=frosties.localdomain) by smtp05.web.de with asmtp (TLSv1:AES256-SHA:256) (WEB.DE 4.110 #277) id 1LqMIm-0006d7-00; Sun, 05 Apr 2009 08:57:56 +0200 Received: from mrvn by frosties.localdomain with local (Exim 4.69) (envelope-from ) id 1LqMIm-0004iz-Ea; Sun, 05 Apr 2009 08:57:56 +0200 From: Goswin von Brederlow To: Jon Harrop Cc: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Strings References: <200904031256.33357.jon@ffconsultancy.com> <87ocvc6qa1.fsf@frosties.localdomain> <200904050355.31170.jon@ffconsultancy.com> Date: Sun, 05 Apr 2009 08:57:56 +0200 In-Reply-To: <200904050355.31170.jon@ffconsultancy.com> (Jon Harrop's message of "Sun, 5 Apr 2009 03:55:31 +0100") Message-ID: <87ws9zfuyz.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=us-ascii Sender: goswin-v-b@web.de X-Sender: goswin-v-b@web.de X-Provags-ID: V01U2FsdGVkX1+oJLIpmMa++9lCfihp7bfJftrYR3ue4PWoAUMr /xxOlpTr3aICfrV/vBYoRFG/EejvlkP3pcNrBVUYufK6MkV/jQ As1cjZkB0= X-Spam: no; 0.00; ocaml:01 ocaml:01 ugliness:01 2009:98 mfg:98 wrote:01 caml-list:01 writes:01 strings:01 strings:01 string:02 string:02 bytes:03 bytes:03 structure:07 Jon Harrop writes: > On Saturday 04 April 2009 22:51:50 Goswin von Brederlow wrote: >> The beauty of ocaml strings is that they are really compact. An ocaml >> string on 32bit is 5-8 bytes longer than the contained string and 9-16 >> bytes on 64bit. > > The ugliness is that 16Mb limit. I assume those limits have been removed in > batteries?! As that is a limitation of the GC memory structure of a string there is nothing batteries can do there. Not for the basic type string. It is also just 32bit that is so severly limited. MfG Goswin