06-30-2012, 02:50 PM
I have located where 70% of the time is gone :oops: In the *PREPROCESSOR* :!:
This seems to be another pathological case (Like the one fixed in 1.2.5). I've worked on it a little, and have reduced compile time by 10-20 seconds in the above examples. But this will hard to fix, I'm afraid.
time ./zxb.py ocman.bas -TaB -O3
real 3m6.317s
user 2m57.299s
sys 0m8.853s
time pypy zxb.py scratch/ocman.bas -O3 -TaB
real 1m56.425s
user 1m52.179s
sys 0m4.244s
(compare with the previous test above; notice there's little difference with pypy: it already optimizes!)
This seems to be another pathological case (Like the one fixed in 1.2.5). I've worked on it a little, and have reduced compile time by 10-20 seconds in the above examples. But this will hard to fix, I'm afraid.
time ./zxb.py ocman.bas -TaB -O3
real 3m6.317s
user 2m57.299s
sys 0m8.853s
time pypy zxb.py scratch/ocman.bas -O3 -TaB
real 1m56.425s
user 1m52.179s
sys 0m4.244s
(compare with the previous test above; notice there's little difference with pypy: it already optimizes!)