I'm not too handy with advanced custom type creations so a lot of the finer secrets with how Knop is constructed passes to the left of my competence profile.
And I read about custom types in the language guide:
"Lasso can use type prototypes to dramatically increase the performance of custom types. When Lasso creates a new instance of a type it normally runs all of the code within the [Define_Type] [/ Define_Type] tags in order to create instance variables and member tags. When the -Prototype keyword is used Lasso runs the code with the type definition once and stores a reference to the pre-compiled prototype. This prototype is copied each time an instance of the type is created. Any data type which follows these guidelines can be used as a prototype. It is recommended that all custom data types be created as prototypes."
So if it "dramatically increases" performance, and is "recommended" for all custom data types. Why doesn't Knop use -prototype?
HDB Jolle ############################################################# This message is sent to you because you are subscribed to the mailing list <knop@lists.montania.se>. To unsubscribe, E-mail to: <knop-off@lists.montania.se> Send administrative queries to <knop-request@lists.montania.se> List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html Project homepage http://montania.se/projects/knop/ Google Code has the latest downloads at http://code.google.com/p/knop/
May 09
Johan Solve Re: No prototypes
May 09, 2008; 17:04
Johan Solve
Re: No prototypes
May 09
Jolle Carlestam Re: No prototypes
May 09, 2008; 18:15
Jolle Carlestam
Re: No prototypes
May 12
Jolle Carlestam Re: No prototypes
May 12, 2008; 10:57
Jolle Carlestam
Re: No prototypes
May 12
Johan Solve Re: No prototypes
May 12, 2008; 16:07
Johan Solve
Re: No prototypes
Search
Lasso Programming
This site manages and broadcasts several email lists pertaining to Lasso Programming and technologies related and used by Lasso developers. Sign up today!