Raised This Month: $ Target: $400
 0% 

Memory VS CPU usage


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 07-29-2009 , 13:12   Memory VS CPU usage
Reply With Quote #1

Let's say I'm making a plugin that would use 14 different kind of motds. So which is the best way?
1# Make a 14 times 2536 array and make the motds once.
2# Always when a player wants to see one motd, do it and destroy the variable.

The motds are showed as often as you would watch /rankstats. Also note that when making a motd the plugin reads throw all players' datas from a file. So I need your opinions.
SnoW is offline
Send a message via MSN to SnoW
 



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:27.


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