At 22.28 -0700 1999.12.14, John-Michael Keyes wrote: >As an aside, macperl performance is wicked fast. 'bout a year ago was >talking to quark with applescript and it was painfully slow. Benchmarking a >pure applescript text extraction from quark was interesting. Pre 8.? >(Whichever made more applescript native) a 32 page tabloid was taking about >an hour and a half to crunch on a 7500. ('net-found scripts) Same script ran >in 53 minutes after the OS upgrade. Moved the processing and the sorting to >Macperl, and called just enough AS to get the data, and the script ran in >less than 11 minutes. (And does better headline to story matching and full >regex data scrub... BTW The G3 does it in less than 3.) Note that there are a few things which cause AppleScript from MacPerl to be slow. 1. AppleScript is much slower than MacPerl at certain operations, like text processing 2. Apple events are slow (faster than they used to be, though) 3. MacPerl compiling AppleScript takes time The last one there can be alleviated some by either using Mac::Glue (which is slower in startup time but can be much faster once it gets going, because it does not need to compile the AppleScript), or Mac::OSA / Mac::OSA::Simple, which allows you to compile an AppleScript (or any OSA language for which a component is available) once and execute it many times. Actual speed differences depend on a lot of factors, so whatever works for you: do it. -- Chris Nandor mailto:pudge@pobox.com http://pudge.net/ %PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10 1FF77F13 8180B6B6']) # ===== Want to unsubscribe from this list? # ===== Send mail with body "unsubscribe" to macperl-request@macperl.org