nuget server logo nuget api documents
↑

API Docs / REnv / parallelApplys

parallelApplys

Full name SMRUCC.Rsharp.Runtime.Internal.Invokes.LinqPipeline.parallelApplys Assembly REnv Members 2

01 Syntax

SMRUCC.Rsharp.Runtime.Internal.Invokes.LinqPipeline.parallelApplys

02 Methods

NameOverloadsSummary
parallelList 1
deepCloneContext 1 try to make a deep clone of the environment context for run parallel code.

03 Members

method parallelList #
parallelList(IDictionary, RFunction, Int32, Int32, Boolean, Environment)
Parameters
NameTypeDescription
listIDictionary

-

applyRFunction

-

groupInt32

-

n_threadsInt32

-

verboseBoolean

-

envirEnvironment

-

Returns

the returns result value sequence keeps the same order with the input sequence.

method deepCloneContext #
deepCloneContext(Environment, String)

try to make a deep clone of the environment context for run parallel code.

Parameters
NameTypeDescription
envEnvironment

due to the reason of make deep copy of this environment context, so that the global variable value update in the parallel code may not effect the environment context in the main thread.

in this point of view, keep less global variable reference will be better in parallel

Returns

modification of the environment context in the parallel closure will not affects the parent environment context env.