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
Array copying in OCaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-07-24 (16:31)
From: Raj Bandyopadhyay <rajb@r...>
Subject: Array copying in OCaml

I have an application which copies a lot of (small) OCaml arrays using 
the Array library (Array.sub and Array.blit) functions. This is turning 
out to be extremely expensive.

Is there any general way/trick to reduce the cost of this kind of 
operation? I haven't found a way not to copy as much, because the 
program semantics seems to demand it.