Hi,
Roland Schwingel wrote:
Also a good idea.... In our tests we got problems with arrays >52000
elements.
As of the fact that the stack might be longer in some cases, it might
be
good
enough to set the limit to about 32768 (isn't that a fine number)?
I don't think 32768 is a good choice:
1/ It let casual reader of the code thinking that it may have
something to do with 2^15. He'll start to worry that, maybe, therte is
a signed 2 byte number somewhere.
2/ It is way too big, as it would use more than half of the stack.
I would suspect that the good number is around 100.