[Haskell-cafe] Re: Detecting system endianness

Maurí­cio briqueabraque at yahoo.com
Sat Dec 20 13:06:13 EST 2008


>> But why would you want that? I understand the only
>> situation when talking about number of bytes
>> makes sense is when you are using Foreign and
>> Ptr. (...)

> Because I'm using both Ptr and Foreign? ;)
> 
> See my recent announcement for bytestring-trie. One of the optimizations 
> I'm working on is to read off a full natural word at a time, (...)

I see, you mean the size of a machine word, not of Data.Word.



More information about the Haskell-Cafe mailing list