https://bugzilla.novell.com/show_bug.cgi?id=425344
Summary: Enumerable.Iterator on 4^n, n >= 16 elements
Product: Mono: Class Libraries
Version: unspecified
Platform: Other
OS/Version: Other
Status: NEW
Severity: Enhancement
Priority: P5 - None
Component: Sys.Core
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
QAContact: [email protected]
Found By: ---
Enumerable.Iterate counts the items it's seen using a simple int. There exists
a minute chance to iterate over a sequence with 4^n, n >= 16 elements. As any
such sequence would evaluate to (int)0, the iteration would throw. As this case
is extremely unlikely, this behaviour doesn't hurt anyone - but since the
counter is only compared to 0, a simple bool flag would do, with less possible
side effects.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs