在Julia中加速“使用分布”
在我的机器上,使用Julia的开发版本,命令在Julia中加速“使用分布”,julia,Julia,在我的机器上,使用Julia的开发版本,命令import Distributions需要6.6秒。有没有办法让这更快?静态预编译将成为Julia 0.4的一部分吗 _ _ _ _(_)_ | A fresh approach to technical computing (_) | (_) (_) | Documentation: http://docs.julialang.org _ _ _| |_ __
import Distributions
需要6.6秒。有没有办法让这更快?静态预编译将成为Julia 0.4的一部分吗
_
_ _ _(_)_ | A fresh approach to technical computing
(_) | (_) (_) | Documentation: http://docs.julialang.org
_ _ _| |_ __ _ | Type "help()" for help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 0.4.0-dev+4603 (2015-05-02 18:25 UTC)
_/ |\__'_|_|_|\__'_| | Commit 803193e* (17 days old master)
|__/ | x86_64-unknown-linux-gnu
julia> tic(); import Distributions; toc()
elapsed time: 6.62282982 seconds
6.62282982
Julia可能会出现0.4,如果它能成功,还不是100%清楚
如果您想手动将其烘焙到“系统映像”中,请查看。Wow
SystemImageBuilder.jl
正是我想要的…我的程序现在大约5秒后启动,而不是65秒后。多谢!我希望静态编译能尽快实现;使用Julia的障碍之一是启动时间缓慢。