https://bugzilla.novell.com/show_bug.cgi?id=652522

https://bugzilla.novell.com/show_bug.cgi?id=652522#c2


--- Comment #2 from Jérémie LAVAL <[email protected]> 2010-11-12 17:37:53 
UTC ---
On a side note, the (P)Linq query is mostly hindered by the implicit creation
of an anonymous type with the let operator. If you rewrite the query like this:

ParallelEnumerable.Range (0, num_steps).Select ((i) => { var x = (i + 05) *
step; return 4.0 / (1.0 + x * x); }).Sum () * step;

You get a more normal run time.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to