Rép: Importing/parsing CSV files
Rép: Importing/parsing CSV files
- Subject: Rép: Importing/parsing CSV files
- From: Yvan KOENIG <email@hidden>
- Date: Wed, 13 Sep 2006 21:20:08 +0200
Le 13 sept. 2006 à 20:28, Adam Bell a écrit :
At 7:36 AM +0100 9/13/06, Philip Aker wrote:
After Kai said
It was evidently Serge Belleudy-d'Espinose who discovered that
using a script object's properties to reference a list was not
only more efficient than direct access, but also faster than
using "a reference to". (Global variables or script properties
could also be used for similar referencing, e.g: "item n of *my*
scriptProperty".)
FWIW, I believe it's commonly known as the Serge Technique.
Serge himself:
http://rome.dartmouth.edu/scripts/wa.exe?
A2=ind0405&L=MACSCRPT&P=R1536&D=0&H=0&I=-3&O=T&T=0
says:
"I stumbled upon the so-called technique 2 years ago by misreading the
very same Apple documentation at the beginning of this thread. Later
on Nigel Garvey introduced his own variant, so this is how you can
now use the Nigel/Serge technique to speed the use of lists. AFAIK
it's not documented anywhere but it's not a quick-and-dirty hack
either, it prooved rock solid."
Just to give Nigel some of the credit. It was from him that I
learned it,
having started scripting in 2005 as he is still very active, and Serge
does not seem to be.
These techniques are described in the book I wrote about in a recent
message.
If you read french, you may look at this page :
<http://trad.applescript.free.fr/aplea.html>
and download "Allez plus loin en AppleScript".
read chapter "Optimisation et magie blanche" pages 137…
It was published in year 2002.
Yvan KOENIG
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden