Y
Hacker News
new
|
ask
|
show
|
jobs
by
110011
3158 days ago
I entered "x(i) = y(i) + z(i)" in the online demo, all three sparse, and I noticed some useless variable definitions: int32_t iz0 = z1_idx[pz1];
Is this intentional? (if so, why)
1 comments
fredrikbk
3158 days ago
We’ve tried to engineer it to emit clean code, but seems we left in some unused variables.
The C compilers dead code elimination should remove those though.
link
The C compilers dead code elimination should remove those though.