Recent submissions

Comment · 1 year ago
'lobbing things' i.e launching things, OP didnt mean it would reach there in 30 days.
Comment · 1 year ago
Comment · 5 years ago
same here. Was excited to see "Knot of the Day", thought I could add that to my RSS reader and look at one each day..could not find a way to do that.
Comment · 7 years ago
A new engineer can learn a lot from being on code reviews earlyon. Anything from the team coding style to the application architecture.
Comment · 9 years ago
Another data point: MATLAB, glnxa64 AVX2, 12 core

>> maxNumCompThreads(1);

>> im = randi(255, [2560, 1600, 3],'uint8');

>> timeit(@()imresize(im,[320,200],'bilinear','Antialiasing',false))

ans =

    0.0083
>> timeit(@()imresize(im,[320,200],'bilinear'))

ans =

    0.0301
>> maxNumCompThreads(6);

>> timeit(@()imresize(im,[320,200],'bilinear','Antialiasing',false))

ans =

    0.0062
>> timeit(@()imresize(im,[320,200],'bilinear'))

ans =

    0.0113

Oh, missed that lanczos2 part:

>> maxNumCompThreads(1);

>> timeit(@()imresize(im,[320,200],'lanczos2','Antialiasing',false))

ans =

    0.0146
>> maxNumCompThreads(6);

>> timeit(@()imresize(im,[320,200],'lanczos2','Antialiasing',false))

ans =

    0.0049

Since MATLAB tries to do most of the computation in double precision, its harder to extract much from SIMD.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton