-
On my M1 Mac with Julia 1.8-rc1:
```
julia> @time @eval maximal_order(quadratic_field(-1)[1]);
5.577463 seconds (2.85 M allocations: 140.472 MiB, 0.34% gc time, 99.97% compilation time)
julia>…
-
As a user, I want the minus operation to only allocate elements as necessary rather than copying the implementation and then subtracting from the copy. In some cases (e.g. ShiftDataExpander) …
-
### 链服务模块 / Chain Service Components
- [X] venus
- [ ] venus-auth
- [ ] venus-gateway
- [ ] venus-messager
- [ ] venus-miner
- [ ] 文档 / docs
### 订单服务模块 / Deal Service Components
- [ ] venus-market
…
-
There is currently a large performance gap between allocating N elements of type T, and allocating a slice of N elements of type T (even in the case in which T does not contain pointers and the size o…
-
### **Nomad version**
1.2.5
### **Nomad job example**
```hcl
job "autoscaler" {
type = "system"
datacenters = ["euc1", "fsn1"]
constraint {
attribute = "${node.class}…
-
Hi,
I have approximately 6.5M rows in a database. When loading by chunks, I noticed the following:
```julia
using CSV
using DataFrames
using BenchmarkTools
@btime CSV.read("data.csv", DataFr…
-
Hello! First of all, thank you to the software writer for making this package. There are many examples with lovely pictures.
The documentation site says the package supports differentiating through…
-
Hi!
I encountered an anti-aliasing bug:
See, on
```julia
julia> versioninfo()
Julia Version 1.7.0
Commit 3bf9d17731 (2021-11-30 12:12 UTC)
Platform Info:
OS: Linux (x86_64-pc-linux-gnu)…
-
There is a performance penalty in using `>(1)` instead of a plain anonymous function here:
```julia
julia> using BenchmarkTools
julia> mat = randn(1000, 1000);
julia> @btime sum(>(1), $mat)
…
lmiq updated
7 months ago
-
If I have a loop which adds a constant integer, we're able to optimize it to a (constant time) multiply:
```julia
julia> using BenchmarkTools
julia> function mul_by_add(a, b)
x = zero(a…