Compiled for MacOS PPC Re: [ENH] GeniePlugin

Karl Ramberg karl.ramberg at chello.se
Mon Apr 16 16:54:16 UTC 2001


Here is the plugin compiled for mac os PPC.
You still need to file in the chang set plus the gesture dictionarys Stephan
posted.

Karl

Stephan Rudlof wrote:
> 
> Dear Squeakers,
> 
> this plugin speeds up just one - but as Nathanael has said *important* - core
> Genie method; how fast it feels in practice has to be seen ;-)
> 
> The *.ggd.gz files are gesture dictionaries for testing (see below).
> 
> Greetings,
> 
> Stephan
> 
> "Change Set:            GeniePlugin
> Date:                   15 April 2001
> Author:                 Stephan Rudlof
> 
> Platform: 3.1alpha
> 
> Cookbook:
> 
> - Compile the plugin by
>         GeniePlugin translateDoInlining: true.
> 
> - Install it according your platform.
> 
> - File in (by a file list browser) the two gestures dictionaries
>         - PrimTest1.ggd: Contains only 8 very simple features.
>         - PrimTest2.ggd: Contains features Nathanael has been using for
> entering basic
> texts. They are needed for the tests.
> 
> - Open a Transcript.
> 
> - Test the functionality by evaluating the short
>         CRStrokeFeature primitiveTest1.
> Since there is a fallback in the case the plugin shouldn't be available
>         - Check the existence of the plugin by
>                 Smalltalk listLoadedModules.
>         It should be visible there.
>         - Then you should make the *longer*
>                 CRStrokeFeature primitiveTest2.
> 
> - Performance may be tested by
>         CRStrokeFeature primitiveTestPerformance.
> This shows some times in the Transcript. If the times for the plugin aren't
> much shorter, then something is wrong.
> 
> - To use the plugin with Genie overwrite CRStrokeFeature>>
>         sameClassAbsoluteStrokeDistance:forReference:
> by
>         newSameClassAbsoluteStrokeDistance:forReference:
> . The new method makes exactly the same as the older one, but *with* using the
> plugin. If the plugin shouldn't be there later, there is a fallback to the
> Smalltalk implementation, so don't worry.
> 
> Have fun!
> "
> --
> Stephan Rudlof (sr at evolgo.de)
>    "Genius doesn't work on an assembly line basis.
>     You can't simply say, 'Today I will be brilliant.'"
>     -- Kirk, "The Ultimate Computer", stardate 4731.3
> 
>   ------------------------------------------------------------------------
>                              Name: GeniePlugin_sr.1.cs.gz
>    GeniePlugin_sr.1.cs.gz    Type: application/gzip (application/gzip)
>                          Encoding: base64
> 
>                        Name: PrimTest1.ggd.gz
>    PrimTest1.ggd.gz    Type: application/gzip (application/gzip)
>                    Encoding: base64
> 
>                        Name: PrimTest2.ggd.gz
>    PrimTest2.ggd.gz    Type: application/gzip (application/gzip)
>                    Encoding: base64
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GeniePlugin.gz
Type: application/octet-stream
Size: 2613 bytes
Desc: Unknown Document
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010416/61f2ca51/GeniePlugin.obj


More information about the Squeak-dev mailing list