Re: [Caml-list] Private types

2008-11-02 Thread Edgar Friendly
David Allsopp wrote: > I agree that the error will still show up somewhere if there is an error - > but remember that a closed polymorphic variant type required an annotation > in the first place (in this case, the type [t] and the explicit type > annotation to use it)... so having made the explici

Re: [Caml-list] Question about optimization

2008-11-02 Thread Jon Harrop
On Sunday 02 November 2008 02:52:49 Michał C wrote: > Hi! > > I'm working on a physical based ray(path) tracer and the performance > is one of my top priorities (just after the image quality). > So I have a question about optimization: can You share some tips or > maybe optimizing strategies to imp

Re: [Caml-list] Question about optimization

2008-11-02 Thread Peng Zang
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have often found -inline 10 to be faster than -inline 100. But YMMV, Peng On Saturday 01 November 2008 10:52:49 pm Michał C wrote: > Hi! > > I'm working on a physical based ray(path) tracer and the performance > is one of my top priorities (just a

Re: [Caml-list] Question about optimization

2008-11-02 Thread Jon Harrop
On Sunday 02 November 2008 02:52:49 Michał C wrote: > Hi! > > I'm working on a physical based ray(path) tracer and the performance > is one of my top priorities (just after the image quality). > So I have a question about optimization: can You share some tips or > maybe optimizing strategies to imp