ParallelMap evaluation leak
- To: mathgroup at smc.vnet.net
- Subject: [mg119451] ParallelMap evaluation leak
- From: Chris Chiasson <chris.chiasson at gmail.com>
- Date: Sat, 4 Jun 2011 06:21:19 -0400 (EDT)
In[1]:= Map[f, Unevaluated@Times[7, 8]] ParallelMap[f, Unevaluated@Times[7, 8]] Attributes@Map Attributes@ParallelMap $Version Out[1]= f[7] f[8] During evaluation of In[1]:= ParallelCombine::nopar1: Function[Parallel`Combine`Private`e$,f/ @Unevaluated[Parallel`Combine`Private`e$]][56] cannot be parallelized; proceeding with sequential evaluation. >> Out[2]= 56 Out[3]= {Protected} Out[4]= {HoldRest, Protected} Out[5]= "8.0 for Microsoft Windows (32-bit) (November 7, 2010)" I would expect the result in both cases to be f[7]*f[8] instead of 56, regardless of the HoldRest attribute. Do you agree? -- http://chris.chiasson.name