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
camomile vs netstring
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2009-04-07 (19:14)
From: Warren Harris <warren@m...>
Subject: camomile vs netstring
Can anyone summarize the trade-offs between the Camomile and Netstring  
(netconversion) unicode translation libraries? The netconversion  
documentation (http://projects.camlcity.org/projects/dl/ocamlnet-2.2.9/doc/html-main/Netconversion.html 
) mentions that Camomile implements text strings as int arrays,  
whereas it encodes them as packed native strings... so I'm guessing  
that Netstring is a win space-wise when random access isn't needed.  
However, are there other trade-offs to be aware of -- bugs, other  
performance issues, ease of use? Camomile seems to provide a larger  
number of conversions, but I have no idea whether these are actually  
useful, or simply legacy artifacts.

I think my unicode needs are fairly simple, but then again, maybe  
everyone thinks that as they're diving off this cliff. :-)


Warren Harris
Metaweb Technologies
http://www.freebase.com - An open database of the world’s information.