Raised This Month: $ Target: $400
 0% 

Which method is more efficient ? Task vs Each time check


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-25-2016 , 09:11   Re: Which method is more efficient ? Task vs Each time check
Reply With Quote #3

Typically, if the function that you are trying to perform naturally works in a hook, you should prefer that method.

It really depends on what you are trying to do. In this case, I would probably use the set_task() because it's easier to understand what the code is doing and as far as efficiency goes it's going to be negligibly different.
__________________

Last edited by fysiks; 05-25-2016 at 09:12.
fysiks 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:39.


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