1. 首页
  2. 数据库
  3. 其它
  4. CodeCosts.jl:`@ code_costs`:@ code_typed`的变体具有估计的费用 源码

CodeCosts.jl:`@ code_costs`:@ code_typed`的变体具有估计的费用 源码

上传者: 2021-02-22 10:04:04上传 ZIP文件 6.95KB 热度 5次
CodeCosts.jl 该软件包提供了@code_typed的变体, @code_typed带有。 这有助于找到阻止SIMD向量化的因素。 julia > using CodeCosts julia > f (x :: T ) where T = convert (T, max (x * 10.0 , x / 3 )) f (generic function with 1 method) julia > @code_costs f ( 1.0f0 ) CodeCostsInfo ( CodeInfo ( 1 1 ─ % 1 = Base . fpext (Base .
下载地址
用户评论