Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
flat20
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
flat20
16y ago
I moved this line out of the for loop which made it slightly faster: var numPixels = options.intensity * Math.pow(options.size, 2); http://jsperf.com/noisy/2