Syntactic Confectionery Delight | |
PerlMonks |
Re: Perl XS portable uint32_tby syphilis (Archbishop) |
on Jun 06, 2008 at 13:10 UTC ( [id://690667]=note: print w/replies, xml ) | Need Help?? |
As regards Digest::JHash, isn't it just a matter of determining the size of unsigned long and unsigned int (preferably during pre-processing), and then proceeding accordingly ? That is, I'm suggesting that the questions you asked (which I don't feel competent to answer, btw) are irrelevant to Digest::JHash. All it really needs to know are the sizes of unsigned longs and unsigned ints - and sizeof() can provide that answer. Cheers, Rob Update: Aaah ... but sizeof() can't provide that info during pre-processing - which therefore adds a layer of complexity.
In Section
Seekers of Perl Wisdom
|
|