Raised This Month: $ Target: $400
 0% 

[TUT/Snippet] Doing timed stuff without CreateTimers


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 02-12-2015 , 16:08   Re: [TUT/Snippet] Doing timed stuff without CreateTimers
Reply With Quote #8

Quote:
Originally Posted by Chdata View Post
https://forums.alliedmods.net/showpo...09&postcount=3

Comparatively a couple of bools shouldn't be bad. Unless you have like hundreds of bools. I try to use switch cases... according to Psychonic or Asherkin they don't calculate every comparison for every switch or something, just jump to whichever case.
It's pretty common for a compiler to generate a jump table for a switch instead of treating it like an if / else if / else block.
__________________
Not currently working on SourceMod plugin development.
Powerlord 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 18:28.


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