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
Unboxed float tuples
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2009-11-08 (20:35)
From: Jon Harrop <jon@f...>
Subject: Re: [Caml-list] Unboxed float tuples
On Sunday 08 November 2009 19:39:03 Brian Hurt wrote:
> Fixing this would require a major rearchitecting and rewrite of not only
> the compiler, but also the garbage collector, the run time, and all the C
> bindings that have been written.

If you're willing to endure a whole program optimization pass then you can 
avoid having to touch the GC and run-time by monomorphizing the code, e.g. 
converting all tuples into monomorphic record types.

Dr Jon Harrop, Flying Frog Consultancy Ltd.