Robert Covington wrote: > >I did a small simple program in FB2 that I wanted more speed with so I > >pasted the text into FB3. But it's slower MUCH slower!!! > > > >I've stripped the program so it'basically only counts each loop it's doing > >in the main loop and display the results every ten seconds. On FB2 it does > >24000 loops/10 sec. but in FB3 it only does 560 loops/10 sec.!!!! > > > >On my 1400 powerbook it does 2700 loops and FB3 still does 560 loops! > > > >It compiles in "Standard basic" in FB3. > > > >Why?? Any Clues??? > > > >I'm I stupid or....?? > > > >/Richard Olsson, TV4, Sweden > > A copy of your demo program would help. > > I would guess you either have a float to integer conversion going on, or a > variable misalignment in PPC? > > Demo needed. > > Robert > I think the problem here may reside in the implementation of HANDLEEVENTS in FB^3 which is more friendly to other applications than FBII is. To retrieve more or less the way HANDLEEVENTS was implemented in FBII, type the following line: POKE LONG EVENT-8, 0 before entering the main event loop and see the difference. -- Cheers Alain ----------------------------------------------------- FB^3 in Europe: http://euro.futurebasic.com/ FB II Pouch: http://www.pixmix.com/FB/outils.html -----------------------------------------------------