Ludovic Henry
44214ee4de
[PLinq] Avoid cache thrashing of locals array when looping over enumerator
2014-07-30 11:40:30 -04:00
Marek Safar
f33ed3fd4f
Fixes parallel enumerable index counter. Fixes #14515
2013-09-09 09:12:41 +02:00
Rodrigo Kumpera
1b92a4148c
Since MOBILE implies NET_4_* now, take this into account and simplify our ifdefs.
2013-02-11 18:42:18 -05:00
Rodrigo Kumpera
ee812b2df0
Fix the mobile profile build of System.Core.dll.
2012-11-07 13:34:46 -05:00
Rodrigo Kumpera
e32ee49f34
Rework some bits in Parallel LINQ to work under Full AOT.
2012-11-06 18:18:13 -05:00
Miguel de Icaza
58cb859143
Bring Parallel LINQ to the Mobile profile
2012-11-06 18:18:12 -05:00
Jérémie Laval
beb265f12b
[System.Core] Check for canceled operation when invoking inner call
2012-09-12 15:49:07 +02:00
Jérémie Laval
8856e1df17
[System.Core] Remove generic indirection in ParallelExecuter.Process
2012-09-04 13:57:33 +01:00
Jeremie Laval
e2e6974153
[System.Core] Prefer setting PLinq task as long running so that they don't get hit by TP timeout
2012-06-19 17:12:47 +01:00
Jeremie Laval
326544e4b3
[System.Core] Defer temporary area management to external class
2012-06-19 17:12:46 +01:00
Rodrigo Kumpera
9bf28d2447
Make INodeVisitor methods nonvirtual by augmenting nodes with interfaces.
2011-11-24 21:03:12 -02:00
Jérémie Laval
cdd12cb801
Create PLinq query tasks attached to their eventual task parent by default
2011-02-16 13:14:14 +00:00
Jérémie Laval
f1ce13ae04
When choosing the number of Task to create for a PLinq query, check if we are already in a running Task
2011-02-16 13:14:13 +00:00
Jérémie Laval
01a0ef45a8
[PLinq] Wrap PLinq processing task body in a try/finally so that endAction is always called no matter what happen.
2010-12-02 14:02:56 +00:00
Jérémie Laval
96bf5ac961
[PLinq] Cleanup and prettify code from earlier commit
2010-12-02 14:02:56 +00:00
Jérémie Laval
a7cdfb1717
Remove debugging spew wrongly introduced by earlier commit
2010-11-26 14:10:03 +00:00
Jérémie Laval
4c3c83de9c
[PLinq] Remove layer of unneeded indirections in OrderingEnumerator
2010-11-24 17:21:57 +00:00
Jérémie Laval
623280c5bc
Use a custom-wrapper for Aggregate operation invocation
2010-11-22 11:47:51 +00:00
Jérémie Laval
16e87dee36
[PLinq] Use a custom loop for iterating in ProcessAndAggregate to avoid the if cost at each round.
2010-11-17 12:22:49 +00:00
Jérémie Laval
92e252135e
Directory cleanup for System.Collections.Concurrent partitioners
2010-11-12 13:20:00 +00:00
Marek Safar
aad016fd87
Clean up few more warnings
2010-10-15 15:20:25 +01:00
Jérémie Laval
b83e58a461
[PLinq] Check ExecutionMode before executing sequentially
2010-09-02 11:11:26 +01:00
Jérémie Laval
19950d68d1
[PLinq] Add automatic sequential processing of query
2010-09-02 10:35:45 +01:00
Jérémie Laval
f724808a29
[PLinq] Add the plumbery for checking source data size when possible and setting ShouldBeSequential appropriately
2010-09-02 10:35:45 +01:00
Jérémie Laval
eae326c71c
[PLinq] Sanitize QueryOptions to use property everywhere and add ShouldBeSequential option.
2010-09-02 10:35:45 +01:00
Jérémie Laval
4dfbfdc566
Revert "[PLinq] Honor WithDegreeOfParallelism if present"
...
This reverts commit 59260b1df7 .
The degree of parallelism value was actually already registered somewhere else.
2010-09-02 10:35:45 +01:00
Jérémie Laval
59260b1df7
[PLinq] Honor WithDegreeOfParallelism if present
2010-09-01 12:05:00 +01:00
Jérémie Laval
ec820e9208
[PLinq] Add Cancellation checks even deeper. Introduce merge token.
...
Merge token are simply the combined cancellation source of user (i.e. token supplied with PLinq operator WithCancellation) and internal tokens (supplied with WithImplementerToken).
2010-08-26 22:28:06 +01:00
Jérémie Laval
0da162b9f2
[PLinq] Include Cancellation checks deeper in the pipeline processing
2010-08-26 13:45:50 +01:00
Jérémie Laval
f5308fd554
[PLinq] Add a more specialized visitor object for checking query ordering.
2010-08-26 11:55:44 +01:00
Jérémie Laval
5270c2f3a3
[PLinq] Refactor underlying enumerator management in OrderingEnumerator
2010-08-26 11:26:41 +01:00
Jérémie Laval
5d41d6b47f
[PLinq] Make QueryCheckerVisitor aware of Take query node.
...
QueryCheckerVisitor can then eventually decide if it's pertinent to run the query in parallel and set accordingly a boolean value (though not used by the engine at the moment).
2010-08-20 14:48:21 +01:00
Jérémie Laval
95a29762ad
[PLinq] Remove unnecessary iteration of the internal dictionary in OrderedEnumerator and use deep sleeping
2010-08-19 16:07:05 +01:00
Jérémie Laval
96a8f92359
[PLinq] Reflect directory hierarchy change on namespace names
2010-08-18 09:25:25 +01:00
Jérémie Laval
d3048467db
[PLinq] Move NET_4_0 define check under licence text
2010-08-17 18:01:15 +01:00
Jérémie Laval
1ee5e87351
[PLinq] Tidy up file hierarchy in System.Linq
2010-08-17 18:01:14 +01:00