Repository navigation
Commit d740837
Precompile the first calls of a JuliaCall session (#837)
A new JuliaCall session usually starts with `jl.<name>` on `juliacall.Main` or `jl.seval(...)`. PythonCall's package image had no compiled code for either method, so every session compiled them at runtime, which took about a second.
Co-authored-by: Miles Cranmer <miles.cranmer@gmail.com>
Co-authored-by: Christopher Rowley <cjdrwly@gmail.com>1 parent 992758d commit d740837
3 files changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
0 commit comments