Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
deegu
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
deegu
5mo ago
Perhaps. Then again, if your target is to reduce dram refresh induced latency, you might not have time to prefetch either.
2.
▲
by
deegu
5mo ago
This might be useful in a case where a small lookup or similar is often pushed out from cache such that lookups are usually cold. Yet lookup data might by small enough to not cause issue with cache pollution, increased bandwidth or memory c
3.
▲
by
deegu
9y ago
CPU frequency scaling can also lead to somewhat unintuitive results. On few occasions I've seen CPU load % increasing significantly after code was optimized. Optimization was still actually valid, and the actual executed instructions p
4.
▲
by
deegu
11y ago
if you run it with luajit -jv primes.lua you'll see NYIs about math.mod not implemented. Replacing math.mod(n, i) with (n % i) gives roughly 9.4x performance. EDIT: luajit version was LuaJIT 2.0.4 on Mac OSX