Also, if I remember correctly, the timings given in the said (excellent)
tutorial are very conservative or outdated. If you have a multicore
machine, it will speed up the process by up to a factor 8.

On Thu, Apr 30, 2020, 15:42 Sam Tobin-Hochstadt <sa...@cs.indiana.edu>
wrote:

> On Thu, Apr 30, 2020 at 9:09 AM Ben Greenman
> <benjaminlgreen...@gmail.com> wrote:
> >
> > On 4/29/20, Sorawee Porncharoenwase <sorawee.pw...@gmail.com> wrote:
> > > (Not directly related to Rhombus) Speaking of “how to contribute”, I
> find
> > > that it is not friendly at all to setup stuff in order to contribute to
> > > Racket core and main distribution. According to
> > >
> https://blog.racket-lang.org/2017/09/tutorial-contributing-to-racket.html,
> > > if I want to make a change to, say, https://github.com/racket/math, I
> > > should start with:
> > >
> > > $ raco pkg update --no-setup --catalog https://pkgs.racket-lang.org
> math
> > > $ raco pkg update --clone math
> > >
> > > The estimated time to run the above two commands is ONE HOUR! The
> second
> > > command in particular seems to compile every Racket packages (why does
> it
> > > need to do that?!?) which takes a lot of time.
> >
> > That second command recompiles only the packages that depend on math.
> > Unfortunately there are a lot of them.
>
> To follow up on that, here are some strategies for reducing that time:
>
> 1. Start with Minimal Racket, install "math", then follow the steps
> above. That will just rebuild `math`, not everything that depends on
> it, since they won't be installed.
>
> 2. (Dangerous) Do the following:
>    $ raco pkg update --no-setup --clone math # fast
>    $ raco setup math
>
> This will only setup "math", and thus be faster, but will potentially
> cause other parts of the installation to not work correctly until you
> run "raco setup".
>
> Making the original commands go faster would require one of three
> things (in increasing order of difficulty): detecting that many zo
> files can be re-used from the previous installation in some fashion,
> making Typed Racket faster, or making Racket macro expansion more
> incremental.
>
> Sam
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/racket-users/CAK%3DHD%2BZ5k%2BFk2guk8sxe8gs-kQ9NcKJLkHGeWprrucFzqZ%2BABA%40mail.gmail.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CABNTSaHpG5ACme4ZWiAhmrJ6avbJs2k3jXMoPfLB1CJEDBWjqQ%40mail.gmail.com.

Reply via email to