Tazinho / Advanced-R-Solutions

Set of solutions for the Advanced R programming book
https://advanced-r-solutions.rbind.io/
290 stars 118 forks source link

Improvin performance: Wrong benchmark statement in Ex 3.3 #252

Closed Tazinho closed 4 years ago

Tazinho commented 4 years ago

Q: How can you use crossprod() to compute a weighted sum? How much faster is it than the naive ...

The difference in timings seems not to be of factor 2 We should look into this before finishing the book.

Tazinho commented 4 years ago

Seemed to be just a local thing on my machine...