View Full Version : final function ****(****)
26th Nov 2001, 02:58 AM
After talking with my friend about this we came to the conclusion that this means:
a) I'm redefining the parameters for this function (****)
b) Make it impossible for subclasses to write alternate code inside this funcion.
26th Nov 2001, 04:29 AM
It makes it impossible to overwrite the function in a child class.
26th Nov 2001, 11:41 AM
I also heard that it makes the function execute slightly faster
26th Nov 2001, 12:17 PM
I haven't, but if it is, it's probably because it's impossible to overwrite the function in a child class. :D Don't have to traverse a hierarchy of superclasses to complete execution.
Though if that's true, it doesn't speak too highly of the compilation method. :(
28th Nov 2001, 08:55 AM
I have, and it's true too. It only makes a difference when there are LOTS of subclasses, and the function is called very often. This is usually only true for Object, Actor and Pawn, and even then it makes only a small difference.
I can't see why that speaks badly for the compilation...?
vBulletin® v3.8.7, Copyright ©2000-2014, vBulletin Solutions, Inc.