Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
From: Daniel_Bünzli <daniel.buenzli@e...>
Subject: Unboxed float tuples
Tuples and records are represented the same way. However when it comes
to records with only floats fields we get a special unboxed
representation.

Why don't we get that for tuples of floats only ?

Using tuples (vs records) to handles points and vectors is
syntactically more lightweight (IMHO). More important it makes it
easier to share that kind of data
between independent modules without introducing new dependencies.
However I don't want to sacrifice the unboxed representation for that.

Is it worth to ask for a feature request ? I guess many people would
be against changing the runtime representation.

Best,

Daniel