> Second, I wouldn't mind sacrificing the 266 Pentium II if the POSE gremlins > tests were faster. Is there a way to speed this up? What did Florent's > patch on the Mac do to speed up gremlins so significantly that can't be > added to Gremlins for POSE? I remember that simulator gremlins without > Florent's patch was pretty slow also. I can explain this. My patch for the Mac simulator was quite simple: I noticed that when you were moving the mouse, simulator was processing gremlins faster. It turned out that it was because Simulator is built with PowerPlant and uses PowerPlant's default event loop, which in turn has a slow timeout to get null events. To make it short, setting the "max interval between two null events" to 0 in the WaitNextEvent() call gives the maximum CPU idle time to the Simulator, allowing it to process a maximum number of gremlins per minute. Since POSE works a different way, it is logical that speed is not the same. You can re-apply the patch yourself on recent builds of the simulator, here is how: - Use CodeWarrior to disassemble the simulator lib, - Look for the LApplication::ProcessNextEvent() method's code, - Locate the WaitNextEvent() call, - There is a move instruction which copies the contents of a variable to the stack (this is the "interval" timeout) -- replace this (takes 6 bytes) with a clr.w -(sp) and two nops in the library file, - You're done :-) -- Florent Pillet, Code Segment [EMAIL PROTECTED] BrainForest, outlines and action items for Palm OS handhelds -> Aportis Technologies Corp. http://www.aportis.com/ PowerGlot, the premier localization tool for Mac OS software -> PowerGlot Software http://www.powerglot.com/ Palm Buddy, MacOS active link companion for PalmOS handhelds -> ...and other tools... http://perso.wanadoo.fr/fpillet/
