> Just for fun I wrote an equivalent program in C and tested the Sage function
> and an equivalent C program on 1 instance of the problem.
Honestly I am not surprised, what you do in this code can be done with
elementary processor operations, and Python definitely is not the best
language for that
Hello. I am unable to start Sage on Virtualbox (version 4.3.20 r96997)
under Windows Vista. The versions of Sage that I tried are 6.3 and 6.4.1. I
get an error screen shown in attachment for v64.1. It says "Failed to load
VMMR0.r0.
I must say I've never succeeded starting any version of Sage o
Just for fun I wrote an equivalent program in C and tested the Sage
function and an equivalent C program on 1 instance of the problem.
===
$ time ./a.out test
real0m0.366s
user0m0.306s
sys 0m0.060s
===
And Sage
===
$ time sage test.sage test
real2m6.285s
user2m5.256s
sys