On Mon, Jul 11, 2011 at 12:06, jalchr <[email protected]> wrote:

> @SimoneB,
> I don't care if it iterates more than once as long as it doesn't kill the
> memory ... so resources are more critical than time in this case.
> Question: How does the Single-Threaded pipeline play with the
> Multi-Threaded Branch ? I think something is inconsistent over here ?
>

Take a look at the SingleThreadedNonCachedPipelineExecuter class, it may
help but currently I think join and branching operations are all performing
some caching.
Pipeline executor takes care of executing the main pipeline. Branches imply
a split in the pipeline and currently branching operations take care of
executing their inner operations.
This means that using a single threaded pipeline with a multi threaded
branching operation you have a single thread main pipeline and a multi
thread branching. There are several tests which cover all permutations.


>
>
> @Miles, I'm using the single-threaded pipeline executer, and still the
> JoinOperation does use the CachingEnumerable which doesn't respect the
> pipeline work:


Right rows are cached because they are needed for generating lookups by key
and then report orphan rows. How would you do that without caching them?
That said, there is probably room for improvement.


>
> A check should be there in the JoinOperation
>
> If(Pipeline.UseCache)
>   // then use the cachingEnumerable
> else
> // don't use it ...
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Rhino Tools Dev" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/rhino-tools-dev/-/vLPKO9szxNcJ.
>
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/rhino-tools-dev?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Rhino Tools Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rhino-tools-dev?hl=en.

Reply via email to