On Tuesday, 12 February 2013 at 01:07:35 UTC, bearophile wrote:

In practice at the moment I am maintaining all the D entries of Rosettacode.


I modified the Hamming numbers code in a personal exercise.
It now uses considerably less memory but is slower.

I've posted the code here in case it is of use: http://dpaste.dzfl.pl/3990023e5577

For a single n, n = 350_000_000:
Alternative version 2: 13.4s and ~5480 MB of ram
My code: 21s and ~74 MB of ram

Regards.

Reply via email to