Raised This Month: $ Target: $400
 0% 

Benchmarking : register_think, register_touch VS register_forward(FM_Think/FM_Touch)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
hebusletroll
Senior Member
Join Date: Apr 2006
Old 09-24-2007 , 11:14   Benchmarking : register_think, register_touch VS register_forward(FM_Think/FM_Touch)
Reply With Quote #1

Dears Friends.

I have a question about run time efficiency with engine methods and fakemeta methods.

With engine, it's possible to register an entity think or touch by inputing the ClassName as a filter, and trig easily a delegate function. Ok.

With Fakemeta, registering purpose that we must catch ourself the class name by doing theses features :

=> Allocating predefined string variable, dedicated to read the class name with pev function.

=> When it's done, we must compare collected value with classname we want to compare, with equali...

=> ... and calling function used when the name is matched.

I'm afraid that adding a lot of classname comparaison will take more cpu time than the engine methods. Isn't it ?

I think this is a good investigation no ? What do you think about this ?

Yes I LOVE FAKEMETA and i want no longer use engine methods, but for theses cases, engine is always more efficiency ?

"Voily voilou" ;o)
__________________
Boring about playing same weapons ? PowerWeapons is available !
PowerWeapon v1.0 released !
Play up to 70 new weapons and create your own weapons !
Tested on Windows Server 2003, 2008/R2, 2012 and Linux Ubuntu 10.x and CentOs 6.x
hebusletroll is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:07.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode