Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
OCaml image blending performance
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-02-07 (11:02)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] OCaml image blending performance
On Wed, Feb 06, 2008 at 11:34:02PM +0000, Jon Harrop wrote:
> In this case, most of the speed loss can be regained by simply
> aggressively inlining everything, which is exactly what you (ab)used
> C macros for in the C code.

I don't understand this.  In '' (which I was responsible for)
C macros are used to inline all the OCaml functions the same as in the
C version.  Yet it's still 70% slower than the C version.

My suspicion was that it was to do with his use of a string as a byte


Richard Jones
Red Hat