Making R 300x times faster!

Поділитися
Вставка
  • Опубліковано 16 жов 2024

КОМЕНТАРІ • 19

  • @semigsedem
    @semigsedem Рік тому +6

    My girlfriend says you are a good presenter even though she does not care for programming. Great video ! :)

  • @joshavery
    @joshavery Рік тому +7

    First time of hearing about lookup vectors using the names feature... super smart. Good video!

  • @rpm2508
    @rpm2508 Рік тому +4

    Amazing video!
    I’ve been using R for about 2 years now and I had no idea how fast R could be. Didn’t know how powerfull Vectorization could be.
    Have you ever tought about making a series of videos about Vectorization? Like starting from the more obvious ways one should implement Vectorization in “every-day code”, and go on to more advanced and nuanced examples.
    I’d love to watch that. But thats just an idea.
    Anyway, congratz for the awsome video. I’ve just found your channel, but already subscribed!

  • @druizcardenas312
    @druizcardenas312 2 години тому

    Great video, thanks for all the tips

  • @NicholasTierney
    @NicholasTierney 5 місяців тому

    Great video, Josiah!
    For benchmarking, just a fun FYI in case you didn't know, you can do `summary(benchmark_obj, relative = TRUE)` and it will compare the two in relative terms, which is neat!

  • @pizzaprosciuttofunghi
    @pizzaprosciuttofunghi Рік тому +1

    Thank you so much for these well-made, interesting and inspiring videos of yours!! :)

  • @lukasgroeninger
    @lukasgroeninger Рік тому +2

    Love this video and ur content! ❤

  • @shaoru
    @shaoru Рік тому +2

    R is fast; good use of data.table is super fast

  • @jessapplegate8099
    @jessapplegate8099 Рік тому +1

    this video is awesome! thank you!!!!

  • @NhanHa-u9q
    @NhanHa-u9q Рік тому +1

    Please share with me your handsome Rstudio theme! Many thanks in advance!

    • @josiahparry
      @josiahparry  Рік тому

      You can get my theme on Github gist.github.com/JosiahParry/082f417c01a87c3a35674bc6fb830f2d

  • @olubode
    @olubode Рік тому +2

    So my takeaway is if “Rust go Brrrr”, the “R (can) go!Hmmmm”

    • @josiahparry
      @josiahparry  Рік тому +1

      Definitely! And also, if you know how to use R is goes VROOOOOOMMMMM. It's ungodly fast if you know how to use it right :)

    • @olubode
      @olubode Рік тому

      @@josiahparry I suggested Hmmm as y’a know speed of light :)

  • @joonasvonlerber
    @joonasvonlerber Рік тому +3

    For summing an entire iterator, you may use .sum(). I don't know if it will work with the extender crate, but worth trying out ;)

    • @josiahparry
      @josiahparry  Рік тому

      Nice! Thats good to know. I don't think it will work with extendr because you need to handle NAs that could come form the R side. I'll ask the discord :)

    • @ilia__k
      @ilia__k Рік тому

      Primitive types like Rint and Rfloat can be sum()-med

    • @josiahparry
      @josiahparry  Рік тому

      @@ilia__k if an NA is present it will result in NA, no?