|
Hi,
I would like to have some info about how an
instanciation of a tcf affect the overall performance of an
application:
is it better to have only few tcf with many
methods that I instanciate at the start of my tafs (due to the object instance
scoping limitation)
or is it better to have more tcf and instanciate
these only if needed losing the advantage of calling methods that was in the
same object from a method directely (via method$this) and multiplicating the
instance creation...
In other words what does exactly an
instanciation on the server side?
-put the object instance in a variable
-fire On_Create method
-did it keep in
memory all the methods infos, and such things??
another general questions:
Does a file with many comments can run slower than
a light file (without any comment)? (due to the time lost when the server parse
the file)
if yes, does the runonly files skip all the
comments?
Does class instanciation in method scope is
reliable? (I know that instanciation is "only" reliable in local scope but
don't have clue about method scope)
Is there a way to manipulate Instance scoped
variable outside of the class as an object property in most common
language?
if no you have to define accessors methods for
these variables
Does a 'private' attribute is planed on methods in
v5? (for the moment all my "pseudo" private begins with a '_')
Thanks for any info :)
Gauthier
PS: does 'instanciation' means anything in
english??? ;)
|
