• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Passing *possible* variables to a handler
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Passing *possible* variables to a handler


  • Subject: Re: Passing *possible* variables to a handler
  • From: Nigel Garvey <email@hidden>
  • Date: Wed, 17 Jul 2002 11:30:11 +0100

I wrote on Tue, 16 Jul 2002 23:52:23 +0100:

Regarding a reconstructed speed test of the initialisation of a script
object inside a handler, the object itself containing two properties and
another handler:

> {t1, t2}
> --> {16, 15} (on a 400 G3 powerBook)
>
>The original "interior" handler was much longer and the speed difference
>was about three ticks.

This last statement seems a bit silly in the light of morning. :-\ I
imagine that an instance of a script object is just a collection of
pointers to the items it contains. In the case of a handler, the pointer
would indicate a block of code that was shared by every instance. This
would explain the speed of the initialisation and would mean that the
size of a handler was irrelevant.

NG
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Properties of junked script objects persist if referenced
  • Next by Date: A better "chrono" command.
  • Previous by thread: Re: Passing *possible* variables to a handler
  • Next by thread: Re: Passing *possible* variables to a handler
  • Index(es):
    • Date
    • Thread