[Haskell-beginners] Function definition order and performance

Arlen Christian Mart Cuss celtic at sairyx.org
Wed Jun 8 02:32:17 CEST 2011


> --  #define sizzeofByteArrayzh(r,a) \
> --     r = ((StgArrWords *)(a))->bytes
> emitPrimOp [res] SizeofByteArrayOp [arg] _
>    = stmtC $
> 	CmmAssign (CmmLocal res) (cmmLoadIndexW arg fixedHdrSize bWord)
> 
> so that caught me off guard.
> 
> I particularly like sizzeof :D

Not looking forward to seeing a function like "sizzle" (sizzzzle?) make
its way into the compiler :D :D




More information about the Beginners mailing list