rstantools icon indicating copy to clipboard operation
rstantools copied to clipboard

Slow package building with rstan 2.26.23

Open cdriveraus opened this issue 2 years ago • 0 comments

          > happens with the rstantools configure script disabled too, and no compilation occurring, fyi.

This is because we're using a less powerful javascript engine (quickjs instead of V8) which is more portable, but less performant.

There were significant optimisations in stanc3 after 2.26, so once we get StanHeaders 2.32 on CRAN then the parsing time should be ~3x faster

Originally posted by @andrjohns in https://github.com/stan-dev/rstan/issues/1084#issuecomment-1711756010

If I've disabled the configure script of rstantools in my package, and the binaries are already built, is it true that parsing is still occurring? if so, can it be turned off somehow? I realise the aim is to get rstan 2.32 out quickly, but forgive me if I don't have full faith there ;) and even 3x faster will still be annoying for package dev...

cdriveraus avatar Sep 08 '23 15:09 cdriveraus