Raised This Month: $51 Target: $400
 12% 

RegisterHookChain vs RegisterHam


Post New Thread Reply   
 
Thread Tools Display Modes
Vieni
Member
Join Date: Apr 2018
Old 07-04-2020 , 06:27   Re: RegisterHookChain vs RegisterHam
Reply With Quote #11

Thanks for the help guys.

Gonna be honest, you won me with this
Quote:
Originally Posted by HamletEagle View Post
Some of the posts in this topic are complete BS.
If you want your plugin to be usable by as many people are possible(if you want to post it here) then you should always use Ham when possible. Hamsandwich works in both regular hlds and rehlds.
If you start using reapi then you restrict your plugin to rehlds for no reason and no gain.

You really should not be thinking about speed when it comes to a line of code that's literally executed once per map. You should instead think about things that actually matter: how to design your plugin, writing your algorithms correctly and making them efficient, making sure there are no bugs etc.
Even if the internals workings of hamsandwich were slower than reapi this would not be a reason to switch to rehlds/regamedll and reapi. Speed is not everything, and if the speed difference is exteremely small is it worth losint all the other benefits for a 0.0001 ms gain in speed?
If one thing is slower than another it doesn't mean it is automatically bad. The important part is how slow. Is that part of the code performance critical?

Also, as fysiks said being newer means nothing. Usually the newer stuff is what you should be "afraid" of. Ham has been around for ages, it is tried and tested.
Vieni is offline
Reply



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 15:24.


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