JuliaPy / JuliaPy/PyCall.jl

How to get PyCall.jlwrap types for precompilation of packages

オープン
#978 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Julia
スター
1.5k
フォーク
186
PR マージ指標
30日以内にマージされた PR はありません

説明

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!

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。