Message Boards Message Boards

0
|
3934 Views
|
3 Replies
|
1 Total Likes
View groups...
Share
Share this post:

Fix slowdown in JoinAcross?

Posted 8 years ago

I've seen a tremendous slowdown in JoinAcross. I've also seen this mentioned in Stack Exchange -

http://mathematica.stackexchange.com/questions/107732

Is there an ETA as to when this will be fixed?

POSTED BY: Mitchell Kaplan
3 Replies

Sam,

Going back to a prior version the run time was about 1 minute. That version used JoinAcross 12 time. My current version takes about 10 minutes and uses JoinAcross 15 times, plus there are some other changes. The Stack Exchange post that I had referenced has some other benchmarks. The lists of Associations that I'm joining have lengths of about 9,000. During the run I can see that the steps with JoinAcross is where the additional time occurs. Also I did run some tests, some time ago, with just a JoinAcross, but I don't still have those results.

I'm running Windows 7, 64 bit, Mathematica version 10.4.1.0.

POSTED BY: Mitchell Kaplan

I recommend posting exact code in the from:

In[1]:= $Version
Out[1]= "10.4.1 for Mac OS X x86 (64-bit) (April 11, 2016)"

In[2]:= AbsoluteTiming[JoinAcross[{<|a -> 1, b -> X|>}, {<|a -> 1, c -> Y|>}, Key[a]];]
Out[2]= {0.000039, Null}

otherwise it is hard to track. You of course can generate larger random Associations.

POSTED BY: Sam Carrettie

For the sake of integrity of information on this site could you please post your benchmarks, OS, Mathematica version and other relevant details.

POSTED BY: Sam Carrettie
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract