|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
impractical class?
Hi is there a point where a class becomes impractical by taking too long to execute if there are lots of functions in it. Is there a practical limit to how many functions can be put in a class before it can slow down script performance dramatically??? Im Just interested to know.
|
|
#2
|
|||
|
|||
|
RE: impractical class?
well, if you have a 50 function class that echos "hello world" i would say that's impractical.
|
|
#3
|
|||
|
|||
|
RE: impractical class?
[quote]
...is there a point where a class becomes impractical by taking too long to execute if there are lots of functions in it. Is there a practical limit to how many functions can be put in a class before it can slow down script performance dramatically?... [quote] yes. or, no. depends upon your defintion of: class function performance dramatically and, impractical much like life's objects. think of class hammer. think of how many functions hammer performs. think of when you have screwdriver, but NEED hammer. or vice versa. sometimes the functionality of an 'object' goes beyond the designed 'function' of given object. |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Programming Theory > impractical class? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|