Documentation slow to build
Pretty irrelevant, but
@time include("make.jl")
...
251.851335 seconds (327.10 M allocations: 16.274 GiB, 2.72% gc time)
How can I speed things up?
using Revise, Hecke and then run the documentation repeatedly in the same julia session helps. The second time round is (of course) much faster.
Hmm, but I think that only helps me after I've run it once.
Yes. The problem is that building the documentation runs julia/Hecke code to produce examples. There are some blocks of the form
```runthiscode
Qx, x = QQ["x"]
K, ...
```
which get evaluated and then the output is inserted in the documentation. One could remove this at the cost, that the examples could diverge from the actual output.
On Thu, Feb 18, 2021 at 03:43:28AM -0800, Albin Ahlbäck wrote:
Hmm, but I think that only helps me after I've run it once.
Yep, the first time round it has to compile Hecke (and Doumenter and such)
-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/thofma/Hecke.jl/issues/167#issuecomment-781285365