Browse thread
[Caml-list] 32 bit floats, SSE instructions
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Keith Wansbrough <Keith.Wansbrough@c...> |
| Subject: | Re: [Caml-list] 32 bit floats, SSE instructions |
> On Fri, 2004-06-11 at 01:20, Keith Wansbrough wrote: > > > You can also annotate something (in Haskell) to say "this is strict" - > > this will usually cause it to be unboxed - and in GHC you can also say > > "this must be unboxed" - this will always cause it to be unboxed. > > Does that work with polymorphic functions? > eg: cause the function to be specialised every call? No, but you can tell it to specialise a function to a particular type (or any finite number of types), and it will automatically use the specialised one if available. (You can't automatically specialise in general if you're doing separate compilation - well, you could, but it wouldn't really be separate compilation, it would be more like using the function as a macro). --KW 8-) ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners