Scott, I think you are misunderstanding. In this case the fancy macros on the DataFrames slows things down instead of making it faster. If the C++ code was allowed to much with the raw data then it should be fair to allow the Julia code to also do that for a performance increase. Without the actual C++ code, it is hard to make a fair comparison of course.
On Monday, August 24, 2015 at 12:50:35 AM UTC+2, Scott Jones wrote: > > > > On Sunday, August 23, 2015 at 10:18:23 PM UTC+2, Patrick Kofod Mogensen > wrote: >> >> Which indeed seems to be within 2x c++ speed. I don't think it's fair to >> use DFs in R and Julia if they're not used in c++. I wonder what could be >> done to the R implementation >> > > If it something commonly available in the language, and not in C++, why > should R or Julia code not use them? > C++ doesn't have multiple dispatch, does that mean that you shouldn't use > that feature of Julia when comparing? > I believe that you should let each language whatever method that gets the > same results when doing comparisons. > >
