在Julia中加快“使用发行版”的速度

时间:2015-05-20 17:40:43

标签: julia

在我的机器上,使用Julia的开发版本,命令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

1 个答案:

答案 0 :(得分:2)

对于Julia 0.4,可能会发生{p> Static precompilation,如果它已经进入,则不会100%明确。

如果您希望通过将其烘焙到系统图像"中来手动完成,请查看handy package SystemImageBuilder.jl

相关问题