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
Optimizing Array.blit
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-04-06 (07:00)
From: David Baelde <david.baelde@g...>
Subject: Re: [Caml-list] Optimizing Array.blit

According to Alain (Frisch I guess), in the bug report that I pointed,
Array.blit causes checks for unboxed floats for every check, and also
has to update GC flags. I don't master the second point but he seems
to suggest that it can be optimized.

In the case of non-overlapping unboxed float arrays, I believe a
simple function similar to mine should work. But I'm not very
confident in mine yet.