Raised This Month: $ Target: $400
 0% 

Memory VS CPU usage


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 07-29-2009 , 15:01   Re: Memory VS CPU usage
Reply With Quote #4

Quote:
Originally Posted by SnoW View Post
I'm doing a some kind of top. Something similiar to /top15.

#1 is to make the information to memory and #2 to read it again all the time when needed. There's no other options.
I got you wrong about the file reading. But there are more options. The list is:

You can read all the data to memory on map start.
You can read, on each player first join, his data and keep it in memory.
You can read the needed player data when the command is issued.

Still, I can be wrong because "some kind of top" is too vague
__________________
joaquimandrade 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:27.


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