To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=47296





------- Additional comments from [EMAIL PROTECTED] Thu Sep  8 21:16:12 -0700 
2005 -------
I ended up setting the array size limit to 50000, but this can be changed (feel
free to change).  multiset's max_size was 4294967295 in my environment, but a
calculation that could make the arrays that big would probably take more than a
normal user can tolerate.

The array size limit turned out to correspond with the number of successes (M)
minus one, i.e. when the number of successes is 49999 it calculates, but if it's
50000 it errors out.

A cursory profiling reveals that most time is spend on the SetBinomElements()
calls, so if a speedup needs to be done, that's where it needs to be.

That said, this is still much better than the current situation IMHO.

Oh one more thing.  I've removed the static_casts to unsigned long, because
switching to just using doubles made absolutely no difference.  Simpler the
better.  Let me know if the patch looks good.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to