Making R 300x times faster!

Описание к видео Making R 300x times faster!

Someone came to me with some slow R code and asked if Rust could make it faster. Here is how I made their R code 300 times faster using Rust. After, someone schools me and makes the code 2000 times faster using base R and data.table. Sometimes an over emphasis on the tidyverse and data frames can make folks write slower code!

0:00 - Intro
1:00 - The problem
1:35 - Reviewing the code
2:50 - Function break down
3:50 - Lookup vectors
4:35 - function rewrite
5:05 - benchmark lookup vector
5:20 - function rewrite
7:50 - Rust R function
17:15 - Benchmark
17:25 - a better approach
18:00 - 3rd circle of hell
20:45 - R is fast

Комментарии

Информация по комментариям в разработке