home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.hypercard
- Path: sparky!uunet!cs.utexas.edu!usc!rpi!usenet.coe.montana.edu!news.u.washington.edu!nntp.uoregon.edu!oregon.uoregon.edu!ccyang
- From: ccyang@oregon.uoregon.edu (Chun-Ching Yang)
- Subject: Re: How magic is the CompileIt?
- Message-ID: <15AUG199222312529@oregon.uoregon.edu>
- News-Software: VAX/VMS VNEWS 1.41
- Sender: news@nntp.uoregon.edu
- Organization: University of Oregon
- References: <15AUG199209103159@oregon.uoregon.edu> <1992Aug16.033156.6692@reed.edu>
- Date: 15 Aug 1992 22:31 PDT
- Lines: 52
-
- In article <1992Aug16.033156.6692@reed.edu>, sharvy@reed.edu (V Headshape) writes...
- >In article <15AUG199209103159@oregon.uoregon.edu> ccyang@oregon.uoregon.edu (Chun-Ching Yang) writes:
- >>I have heard that there is a aaplication that can compile HyperTalk in
- >>Hypercard into XCMD to speed up HyperCard.
- >>I found a Demo in Sumex-aim. It looks good and when using HyperTalk to do math
- >>(FPU), the compiled hypertalk is very fast. (I used a loop of 10000 times to
- >>test FPU math, the compiled HyperTalk is about 50 times faster.)
- >>I don't know if anyone who has bought this application can tell me how magic in
- > I thought HC 2.0 compiled scripts on its first execution of them and
- >stashed them in RAM, so why would compileIt be faster? At least, why
- >would it be 50 times faster?
- >
- >--
- I am the one who posted this question. Since I did not tell my question
- clearly, I want to add something here.
- As I know, the CompileIt can compile any HyperTalk scripts into XCMD. After
- compiling HyperTalk scripts, your buttons can call this XCMD which was the
- hypertalk scripts.
-
-
- c
-
- a
-
-
- My test script is something like this:
- On testScript
- repeat with i=1 to 100000
- put i*2.875649323 into t
- end repeat
- put t
- end testScript
-
- Then I use CompileIt Demo (which can compile 10 lines only by Demo) to compile
- this script into XCMD. After compiling this script into XCMD, script in the
- button will be like this:
-
- On mouseup
- testScript
- End mouseup
-
- I have tried the normal HyperTalk script (not compiled) as mentioned above, it
- will take about 2 minutes to finish this loop. However, when I used the
- compiled script by compileIt, it took about 1 and half SECONDs.
- That's what I said about 50 times faster.
-
-
- Yang
-
-
-
- >Liberate the Weirdoes and You Liberate the Squares
-