Archive for 2010-08-19

Speeding up parentheses (and lots more) in R

As I noted here, enclosing sub-expressions in parentheses is slower in R than enclosing them in curly brackets. I now know why, and I’ve modified R to reduce (but not eliminate) the slowness of parentheses. The modification speeds up many other operations in R as well, for an average speedup of something like 5% for programs that aren’t dominated by large built-in operations like matrix multiplies. (more…)

2010-08-19 at 1:07 pm 14 comments


Calendar

August 2010
M T W T F S S
« Mar   Sep »
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Posts by Month

Posts by Category


Follow

Get every new post delivered to your Inbox.

Join 125 other followers