Version française
Home     About     Download     Resources     Contact us    
Browse thread
Re: [Caml-list] New Ocaml Plug-in for NetBeans
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Nathaniel Gray <n8gray@g...>
Subject: Re: [Caml-list] New Ocaml Plug-in for NetBeans
On Sun, Sep 7, 2008 at 6:10 PM, Jon Harrop
<jonathandeanharrop@googlemail.com> wrote:
> On Monday 08 September 2008 00:31:47 Nathaniel Gray wrote:
>> In fact, gzip does a pretty fine job of optimizing .annot files.  The
>> source file this .annot came from is 15K, the .annot file is 78K, and
>> gzipping it gets it down to 9K.
>
> Tokenizing that .annot format by simply mapping each string onto a unique
> token and writing out the mapping first will shrink such files enormously
> whilst still being easily dissected from any language. Moreover, the benefit
> is super-linear...

Sure, I had the same thought, but gzip already exists, doesn't require
approval from INRIA, and .gz is easily read in just about any language
(including OCaml).  Once the .annot files are smaller than the source
files I'm completely willing to generate them all the time.

Cheers,
-n8

-- 
>>>-- Nathaniel Gray -- Caltech Computer Science ------>
>>>-- Mojave Project -- http://mojave.cs.caltech.edu -->