
17 Apr
2010
17 Apr
'10
1:19 a.m.
On Fri, Apr 16, 2010 at 5:49 AM, Thorsten Ottosen <nesotto@cs.aau.dk> wrote:
Jeffrey Hellrung skrev:
You might want the "by-value size limit" to be platform dependent. I can imagine that the limit for 64-bit systems could arguably be twice that for 32-bit systems.
by using 2*sizeof(int) we should probably get this behavior by default. Do we know any compilers where int does not have word size?
But anyway, there might be compiler differences even on the same platform.
64-bit compilers, which have int as 32-bit for some (in my opinion) very stupid reasons (I like purity)? Perhaps use long, which should be 32-bit on 32-bit, and 64-bit on 64-bit systems, and hopefully it expands more later on too?