Patch for Word64

Bulat Ziganshin bulatz at HotPOP.com
Wed Nov 23 11:21:11 EST 2005


Hello Simon,

Wednesday, November 23, 2005, 2:28:26 PM, you wrote:

SM>   int64ToWord64# = unsafeCoerce#
SM>   word64ToInt64# = unsafeCoerce#

SM> this should reduce the cost of the conversions to zero, which is a
SM> simpler way to fix the performance bug (if it works).

SM> If you confirm that this also improves performance, I'll commit it.  If
SM> not, I'll commit your patch instead.

please don't forget about:

  int32ToWord32#
  word32ToInt32#
  intToInt32#
  int32ToInt#
  wordToWord32#
  word32ToWord#
  int2Word#
  word2Int#



-- 
Best regards,
 Bulat                            mailto:bulatz at HotPOP.com





More information about the Glasgow-haskell-users mailing list