Re: [Rd] Manipulating single-precision (float) arrays in .Call functions

From: Alireza Mahani <>
Date: Mon, 18 Jul 2011 15:15:22 -0700 (PDT)


Thank you for your reply. This is a rather unfortunate limitation, because for large data sizes there is a significant difference between the performance of '.C' and '.Call'. I will have to do some tests to see what sort of penalty I incur for copying from double to float inside my C++ code (so I can use '.Call'). I won't be able to use memset(); rather, I have to have an explicit loop and use casting. Is there a more efficient option?


View this message in context:
Sent from the R devel mailing list archive at

______________________________________________ mailing list
Received on Mon 18 Jul 2011 - 22:28:04 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 19 Jul 2011 - 04:10:10 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive