JuliaPy / JuliaPy/PyCall.jl

How to get PyCall.jlwrap types for precompilation of packages

Aperta
#978 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Julia
Stelle
1.5k
Fork
186
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Hello PyCall community,

I am using PyJulia to execute some Julia code I have written to do math. I hope to reduce my code latency by precompiling the Julia code. This was not working, so I dug into what was happening and I have discerned that PyJulia is calling my Julia code with types resembling:

`PyCall.jlwrap Float64` and `PyCall.jlwrap Int64` etc.

This is fine, all I need to do is precompile my Julia code with these types. However, I can't figure out how to import these types in Julia to do the precompilation!

Is there a way to bring these types into scope purely within Julia source, so that I can achieve precompilation?

Thanks!

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.