Raised This Month: $ Target: $400
 0% 

View Poll Results: nVault or a file is more faster as a database?
nVault 6 100.00%
File 0 0%
Voters: 6. You may not vote on this poll

[Help] nVault or a file is more faster as a database


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kyky
New Member
Join Date: Nov 2007
Location: Sofia, Bulgaria
Old 01-04-2009 , 10:35   [Help] nVault or a file is more faster as a database
Reply With Quote #1

Hi there!

I can't file any info related to nVault vs file speed so sorry if I'm asking a dumb question
I was thinking of writing a new sort of 'ban for cheat messages' and I decided to try to speed it up. I wanted the whole message to be checked first and then if no match found in the db to check for partial match with a values in a second db. Both parts of the idea can be accomplished in nVault - the key = the whole message, the value = the partial and the timestamp = unique ID by which later the vault would be looped. Or we can use a second nVault to store the partial messages... But it can be done with a file too - message and an argument - then the file is looped and checked with the players message by the method, supplied by the argument. In this situation which is faster? I hope I gave enough info... Thanks in advance
__________________
България над всичко!
kyky is offline
Send a message via ICQ to kyky Send a message via Skype™ to kyky
L//
Senior Member
Join Date: Aug 2008
Location: Not found
Old 01-04-2009 , 10:44   Re: [Help] nVault or a file is more faster as a database
Reply With Quote #2

nVault is widely most faster
__________________
L// is offline
Send a message via MSN to L//
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 01-04-2009 , 11:48   Re: [Help] nVault or a file is more faster as a database
Reply With Quote #3

Make 1 version with nVault, and 1 with a file.
Then, use AMXX Profiling to see which one is faster.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
kyky
New Member
Join Date: Nov 2007
Location: Sofia, Bulgaria
Old 01-05-2009 , 17:04   Re: [Help] nVault or a file is more faster as a database
Reply With Quote #4

Thank you for your answers. I'll make the two versions and test them using the profiler. I'll post here the results. To be continued...
__________________
България над всичко!
kyky is offline
Send a message via ICQ to kyky Send a message via Skype™ to kyky
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 09:06.


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