2 ms·
That is why I compared to an implementation in Perl that was likewise making lots of excess function calls and storing things very inefficiently. This was as c
by btilly 12y ago
That is why I compared to an implementation in Perl that was likewise making lots of excess function calls and storing things very inefficiently. This was as close to apples to apples as I could get without putting much energy forward.
Perl gets a lot faster if you sieve blocks at a time, using vec() to manipulate bit arrays. And I'm not surprised that an actually efficient language would be massively faster.