Article View: adobe.scripting.indesign
Article #20105Re: AS vs. VB -- is one faster than the other?
From: Olav Kvern
Date: Thu, 31 Oct 2002 22:58
Date: Thu, 31 Oct 2002 22:58
9 lines
1405 bytes
1405 bytes
Jay--
It really depends on what you're doing. In general, I find VB much faster than AppleScript--mostly because of AppleScript's slow iteration. While you can use filter ("whose") clauses to avoid some iteration in AppleScript, there are some cases where you simply have to iterate. When that happens, the slowness of the channel (AppleEvents) will get you.
I don't notice InDesign itself being faster or slower on machines of similar clock speeds (comparing my 500Mhz Powerbook to my 450Mhz PIII, for example). But the speed difference between VB and AppleScript is very noticeable.
Thanks,
Ole
Technical Details
Message-ID:
<1de668d0.0@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-04!supernews.com!newspump.sol.net!newshosting.com!news-xfer1.atl.newshosting.com!news.stealth.net!news.stealth.net!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de668d0.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,79fa738adeb65bd7,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2002-10-31 15:18:04 PST From: "Olav Kvern" <okvern@adobe.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-04!supernews.com!newspump.sol.net!newshosting.com!news-xfer1.atl.newshosting.com!news.stealth.net!news.stealth.net!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: AS vs. VB -- is one faster than the other? Message-ID: <1de668d0.0@WebX.la2eafNXanI> Date: Thu, 31 Oct 2002 14:58:23 -0800 References: <1de668d0.-1@WebX.la2eafNXanI> Lines: 16 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit