[Rd] Get Logical processor count correctly whether NUMA is enabled or disabled

2018-08-17 Thread Srinivasan, Arunkumar
Dear R-devel list, R's detectCores() function internally calls "ncpus" function to get the total number of logical processors. However, this doesnot seem to take NUMA into account on Windows machines. On a machine having 48 processors (24 cores) in total and windows server 2012 installed, if N

Re: [Rd] odd behavior of names

2018-08-17 Thread Tomas Kalibera
Both bugs should now be fixed in R-devel. The first one was causing the difference between the first and the following element. The second one was causing the printing of unnecessary backticks, inconsistently with Unix systems. Best Tomas On 07/30/2018 09:32 AM, Martin Maechler wrote: Wil

Re: [Rd] Package compiler - efficiency problem

2018-08-17 Thread Tomas Kalibera
Dear Karol, I don't understand the models behind these function, but I can tell that the code generated is very inefficient. The AST interpreter will be very inefficient performing each scalar computation with all boxing, allocations, function calls. The byte-code compiler removes some of the