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
Is OCaml fast?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2010-12-03 (21:42)
From: ygrek <ygrekheretix@g...>
Subject: Re: [Caml-list] optimizing caml_modify [was OCaml GC [was Is OCaml fast?]]
On Thu, 2 Dec 2010 17:07:59 +0200
Török Edwin <edwintorok@gmail.com> wrote:

> BTW I was also looking at ways to speed up mark_slice and sweep_slice,
> (which is not easy since it is mostly optimized already).
> Found a place where GCC is not smart enough though. Attached patch
> improves GC sweep_slice by 3% - 10% in ocamlopt, depending on CPU (3%
> Intel, 10% AMD Phenom II X6). Should I open a bug and attach it?

BTW, while we are on this topic, why the following is not in upstream yet?


Looks like a clear win-win without drawbacks (increased code size shouldn't be significant
cause Modify is only used in a couple of places). What do you think?

PS I was hoping Mauricio will push it to bugtracker or start discussion but apparently this didn't happen so
here we go - stealing the flag, sorry :)