AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [Help] nVault or a file is more faster as a database (https://forums.alliedmods.net/showthread.php?t=83109)

kyky 01-04-2009 10:35

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

I can't file any info related to nVault vs file speed so sorry if I'm asking a dumb question :roll:
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 :wink:

L// 01-04-2009 10:44

Re: [Help] nVault or a file is more faster as a database
 
nVault is widely most faster

Exolent[jNr] 01-04-2009 11:48

Re: [Help] nVault or a file is more faster as a database
 
Make 1 version with nVault, and 1 with a file.
Then, use AMXX Profiling to see which one is faster.

kyky 01-05-2009 17:04

Re: [Help] nVault or a file is more faster as a database
 
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... :wink:


All times are GMT -4. The time now is 09:06.

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