26 ms·
And Python's integer type is gold-plated.
by NelsonMinar 13y ago
And Python's integer type is gold-plated.
- gshubert17 13y agoDoes that make pypy platinum? time pypy -c "print sum(xrange(1000000001))" is 2.0 seconds on my Mac; a C program with 8-byte ints (long or long long) takes 2.6 seconds.