Well, it appears to work for me.
[nilsson@mahoro src]$ pike --dumpversion 7.5.9 [nilsson@mahoro src]$ time pike -e 'int ts=time()+10; while(time()<ts);'
real 0m9.374s user 0m5.310s sys 0m4.070s
/ Martin Nilsson (saturator)
Previous text:
2003-09-15 19:59: Subject: time() and optimization again
I see a checkin by Grubba in treeopt.in (rev 1.72) that apparently tries to fix it, but it doesn't work for me when I try a 7.5. The patch is backported to 7.4, but it's equally non-working there.
/ Martin Stjernholm, Roxen IS