 julia 1.10.10(we here use @noinline to prevent the opti- mizer from trying to be too clever and defeat our benchmark): @noinline function inner(x, y) s = zero(eltype(x)) for i=eachindex(x) @inbounds s += x[i]*y[i] – in general, the speedup will be smaller. (In this particular example, the working set of the benchmark is small enough to fit into the L1 cache of the processor, so that memory access latency does not Base.sin – Method. sin(x) Compute sine of x, where x is in radians. See also sind, sinpi, sincos, cis, asin. Examples julia> round.(sin.(range(0, 2pi, length=9)'), digits=3) 1×9 Matrix{Float64}: 00 码力 | 1692 页 | 6.34 MB | 3 月前3 julia 1.10.10(we here use @noinline to prevent the opti- mizer from trying to be too clever and defeat our benchmark): @noinline function inner(x, y) s = zero(eltype(x)) for i=eachindex(x) @inbounds s += x[i]*y[i] – in general, the speedup will be smaller. (In this particular example, the working set of the benchmark is small enough to fit into the L1 cache of the processor, so that memory access latency does not Base.sin – Method. sin(x) Compute sine of x, where x is in radians. See also sind, sinpi, sincos, cis, asin. Examples julia> round.(sin.(range(0, 2pi, length=9)'), digits=3) 1×9 Matrix{Float64}: 00 码力 | 1692 页 | 6.34 MB | 3 月前3
 Julia 1.10.9(we here use @noinline to prevent the opti- mizer from trying to be too clever and defeat our benchmark): @noinline function inner(x, y) s = zero(eltype(x)) for i=eachindex(x) @inbounds s += x[i]*y[i] – in general, the speedup will be smaller. (In this particular example, the working set of the benchmark is small enough to fit into the L1 cache of the processor, so that memory access latency does not Base.sin – Method. sin(x) Compute sine of x, where x is in radians. See also sind, sinpi, sincos, cis, asin. Examples julia> round.(sin.(range(0, 2pi, length=9)'), digits=3) 1×9 Matrix{Float64}: 00 码力 | 1692 页 | 6.34 MB | 3 月前3 Julia 1.10.9(we here use @noinline to prevent the opti- mizer from trying to be too clever and defeat our benchmark): @noinline function inner(x, y) s = zero(eltype(x)) for i=eachindex(x) @inbounds s += x[i]*y[i] – in general, the speedup will be smaller. (In this particular example, the working set of the benchmark is small enough to fit into the L1 cache of the processor, so that memory access latency does not Base.sin – Method. sin(x) Compute sine of x, where x is in radians. See also sind, sinpi, sincos, cis, asin. Examples julia> round.(sin.(range(0, 2pi, length=9)'), digits=3) 1×9 Matrix{Float64}: 00 码力 | 1692 页 | 6.34 MB | 3 月前3
 Julia 1.8.0 DEV Documentationmarkup (we here use @noinline to prevent the optimizer from trying to be too clever and defeat our benchmark): CHAPTER 34. PERFORMANCE TIPS 393 @noinline function inner(x, y) s = zero(eltype(x)) for i=eachindex(x) – in general, the speedup will be smaller. (In this particular example, the working set of the benchmark is small enough to fit into the L1 cache of the processor, so that memory access latency does not See also [sind], [sinpi], [sincos], [cis]. source Base.cos – Method. cos(x) Compute cosine of x, where x is in radians. See also [cosd], [cospi], [sincos], [cis]. source Base.Math.sincos – Method0 码力 | 1463 页 | 5.01 MB | 1 年前3 Julia 1.8.0 DEV Documentationmarkup (we here use @noinline to prevent the optimizer from trying to be too clever and defeat our benchmark): CHAPTER 34. PERFORMANCE TIPS 393 @noinline function inner(x, y) s = zero(eltype(x)) for i=eachindex(x) – in general, the speedup will be smaller. (In this particular example, the working set of the benchmark is small enough to fit into the L1 cache of the processor, so that memory access latency does not See also [sind], [sinpi], [sincos], [cis]. source Base.cos – Method. cos(x) Compute cosine of x, where x is in radians. See also [cosd], [cospi], [sincos], [cis]. source Base.Math.sincos – Method0 码力 | 1463 页 | 5.01 MB | 1 年前3
 Julia 1.11.4(we here use @noinline to prevent the opti- mizer from trying to be too clever and defeat our benchmark): @noinline function inner(x, y) s = zero(eltype(x)) for i=eachindex(x) @inbounds s += x[i]*y[i] – in general, the speedup will be smaller. (In this particular example, the working set of the benchmark is small enough to fit into the L1 cache of the processor, so that memory access latency does not Compute sine of x, where x is in radians.CHAPTER 44. MATHEMATICS 850 See also sind, sinpi, sincos, cis, asin. Examples julia> round.(sin.(range(0, 2pi, length=9)'), digits=3) 1×9 Matrix{Float64}: 00 码力 | 2007 页 | 6.73 MB | 3 月前3 Julia 1.11.4(we here use @noinline to prevent the opti- mizer from trying to be too clever and defeat our benchmark): @noinline function inner(x, y) s = zero(eltype(x)) for i=eachindex(x) @inbounds s += x[i]*y[i] – in general, the speedup will be smaller. (In this particular example, the working set of the benchmark is small enough to fit into the L1 cache of the processor, so that memory access latency does not Compute sine of x, where x is in radians.CHAPTER 44. MATHEMATICS 850 See also sind, sinpi, sincos, cis, asin. Examples julia> round.(sin.(range(0, 2pi, length=9)'), digits=3) 1×9 Matrix{Float64}: 00 码力 | 2007 页 | 6.73 MB | 3 月前3
 Julia 1.11.5 Documentation(we here use @noinline to prevent the opti- mizer from trying to be too clever and defeat our benchmark): @noinline function inner(x, y) s = zero(eltype(x)) for i=eachindex(x) @inbounds s += x[i]*y[i] – in general, the speedup will be smaller. (In this particular example, the working set of the benchmark is small enough to fit into the L1 cache of the processor, so that memory access latency does not Compute sine of x, where x is in radians.CHAPTER 44. MATHEMATICS 850 See also sind, sinpi, sincos, cis, asin. Examples julia> round.(sin.(range(0, 2pi, length=9)'), digits=3) 1×9 Matrix{Float64}: 00 码力 | 2007 页 | 6.73 MB | 3 月前3 Julia 1.11.5 Documentation(we here use @noinline to prevent the opti- mizer from trying to be too clever and defeat our benchmark): @noinline function inner(x, y) s = zero(eltype(x)) for i=eachindex(x) @inbounds s += x[i]*y[i] – in general, the speedup will be smaller. (In this particular example, the working set of the benchmark is small enough to fit into the L1 cache of the processor, so that memory access latency does not Compute sine of x, where x is in radians.CHAPTER 44. MATHEMATICS 850 See also sind, sinpi, sincos, cis, asin. Examples julia> round.(sin.(range(0, 2pi, length=9)'), digits=3) 1×9 Matrix{Float64}: 00 码力 | 2007 页 | 6.73 MB | 3 月前3
 Julia v1.9.4 Documentation(we here use @noinline to prevent the opti- mizer from trying to be too clever and defeat our benchmark): @noinline function inner(x, y) s = zero(eltype(x)) for i=eachindex(x) @inbounds s += x[i]*y[i] – in general, the speedup will be smaller. (In this particular example, the working set of the benchmark is small enough to fit into the L1 cache of the processor, so that memory access latency does not Base.sin – Method. sin(x) Compute sine of x, where x is in radians. See also sind, sinpi, sincos, cis, asin. Examples julia> round.(sin.(range(0, 2pi, length=9)'), digits=3) 1×9 Matrix{Float64}: 00 码力 | 1644 页 | 5.27 MB | 1 年前3 Julia v1.9.4 Documentation(we here use @noinline to prevent the opti- mizer from trying to be too clever and defeat our benchmark): @noinline function inner(x, y) s = zero(eltype(x)) for i=eachindex(x) @inbounds s += x[i]*y[i] – in general, the speedup will be smaller. (In this particular example, the working set of the benchmark is small enough to fit into the L1 cache of the processor, so that memory access latency does not Base.sin – Method. sin(x) Compute sine of x, where x is in radians. See also sind, sinpi, sincos, cis, asin. Examples julia> round.(sin.(range(0, 2pi, length=9)'), digits=3) 1×9 Matrix{Float64}: 00 码力 | 1644 页 | 5.27 MB | 1 年前3
 Julia 1.9.0 DEV Documentation(we here use @noinline to prevent the opti- mizer from trying to be too clever and defeat our benchmark): @noinline function inner(x, y) s = zero(eltype(x)) for i=eachindex(x) @inbounds s += x[i]*y[i] – in general, the speedup will be smaller. (In this particular example, the working set of the benchmark is small enough to fit into the L1 cache of the processor, so that memory access latency does not Base.sin – Method. sin(x) Compute sine of x, where x is in radians. See also sind, sinpi, sincos, cis, asin. Examples julia> round.(sin.(range(0, 2pi, length=9)'), digits=3) 1×9 Matrix{Float64}: 00 码力 | 1633 页 | 5.23 MB | 1 年前3 Julia 1.9.0 DEV Documentation(we here use @noinline to prevent the opti- mizer from trying to be too clever and defeat our benchmark): @noinline function inner(x, y) s = zero(eltype(x)) for i=eachindex(x) @inbounds s += x[i]*y[i] – in general, the speedup will be smaller. (In this particular example, the working set of the benchmark is small enough to fit into the L1 cache of the processor, so that memory access latency does not Base.sin – Method. sin(x) Compute sine of x, where x is in radians. See also sind, sinpi, sincos, cis, asin. Examples julia> round.(sin.(range(0, 2pi, length=9)'), digits=3) 1×9 Matrix{Float64}: 00 码力 | 1633 页 | 5.23 MB | 1 年前3
 Julia 1.9.3 Documentation(we here use @noinline to prevent the opti- mizer from trying to be too clever and defeat our benchmark): @noinline function inner(x, y) s = zero(eltype(x)) for i=eachindex(x) @inbounds s += x[i]*y[i] – in general, the speedup will be smaller. (In this particular example, the working set of the benchmark is small enough to fit into the L1 cache of the processor, so that memory access latency does not Base.sin – Method. sin(x) Compute sine of x, where x is in radians. See also sind, sinpi, sincos, cis, asin. Examples julia> round.(sin.(range(0, 2pi, length=9)'), digits=3) 1×9 Matrix{Float64}: 00 码力 | 1644 页 | 5.27 MB | 1 年前3 Julia 1.9.3 Documentation(we here use @noinline to prevent the opti- mizer from trying to be too clever and defeat our benchmark): @noinline function inner(x, y) s = zero(eltype(x)) for i=eachindex(x) @inbounds s += x[i]*y[i] – in general, the speedup will be smaller. (In this particular example, the working set of the benchmark is small enough to fit into the L1 cache of the processor, so that memory access latency does not Base.sin – Method. sin(x) Compute sine of x, where x is in radians. See also sind, sinpi, sincos, cis, asin. Examples julia> round.(sin.(range(0, 2pi, length=9)'), digits=3) 1×9 Matrix{Float64}: 00 码力 | 1644 页 | 5.27 MB | 1 年前3
 Julia 1.9.0 rc2 Documentation(we here use @noinline to prevent the opti- mizer from trying to be too clever and defeat our benchmark): @noinline function inner(x, y) s = zero(eltype(x)) for i=eachindex(x) @inbounds s += x[i]*y[i] – in general, the speedup will be smaller. (In this particular example, the working set of the benchmark is small enough to fit into the L1 cache of the processor, so that memory access latency does not Base.sin – Method. sin(x) Compute sine of x, where x is in radians. See also sind, sinpi, sincos, cis, asin. Examples julia> round.(sin.(range(0, 2pi, length=9)'), digits=3) 1×9 Matrix{Float64}: 00 码力 | 1644 页 | 5.27 MB | 1 年前3 Julia 1.9.0 rc2 Documentation(we here use @noinline to prevent the opti- mizer from trying to be too clever and defeat our benchmark): @noinline function inner(x, y) s = zero(eltype(x)) for i=eachindex(x) @inbounds s += x[i]*y[i] – in general, the speedup will be smaller. (In this particular example, the working set of the benchmark is small enough to fit into the L1 cache of the processor, so that memory access latency does not Base.sin – Method. sin(x) Compute sine of x, where x is in radians. See also sind, sinpi, sincos, cis, asin. Examples julia> round.(sin.(range(0, 2pi, length=9)'), digits=3) 1×9 Matrix{Float64}: 00 码力 | 1644 页 | 5.27 MB | 1 年前3
 Julia 1.10.0 DEV Documentation(we here use @noinline to prevent the opti- mizer from trying to be too clever and defeat our benchmark): @noinline function inner(x, y) s = zero(eltype(x)) for i=eachindex(x) @inbounds s += x[i]*y[i] – in general, the speedup will be smaller. (In this particular example, the working set of the benchmark is small enough to fit into the L1 cache of the processor, so that memory access latency does not Base.sin – Method. sin(x) Compute sine of x, where x is in radians. See also sind, sinpi, sincos, cis, asin. Examples julia> round.(sin.(range(0, 2pi, length=9)'), digits=3) 1×9 Matrix{Float64}: 00 码力 | 1678 页 | 5.95 MB | 1 年前3 Julia 1.10.0 DEV Documentation(we here use @noinline to prevent the opti- mizer from trying to be too clever and defeat our benchmark): @noinline function inner(x, y) s = zero(eltype(x)) for i=eachindex(x) @inbounds s += x[i]*y[i] – in general, the speedup will be smaller. (In this particular example, the working set of the benchmark is small enough to fit into the L1 cache of the processor, so that memory access latency does not Base.sin – Method. sin(x) Compute sine of x, where x is in radians. See also sind, sinpi, sincos, cis, asin. Examples julia> round.(sin.(range(0, 2pi, length=9)'), digits=3) 1×9 Matrix{Float64}: 00 码力 | 1678 页 | 5.95 MB | 1 年前3
共 87 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9













