dudb vs. fwrite
#1

What do you prefer, and what is faster?
Reply
#2

I'm using dudb, and it's more faster than fwrite.
Reply
#3

Uhm.. You must use sscanf/dcmd with it or not?
Reply
#4

No, just if you want.
Reply
#5

Then might I ask, why if I add
pawn Код:
#include <dutils>
I get
pawn Код:
C:\Users\XXX\XXXX\XXXXXXXXXXX\filterscripts\admin.pwn(919) : error 047: array sizes do not match, or destination array is too small
* 26
Reply
#6

Hmm, I do not really know it. But when you add sscanf/dcmd, this error message disappears?
Reply
#7

Dunno, am not using it, I am using strtok, might that be the problem?
Reply
#8

Maybe, try it out in a new script, with some functions
Reply
#9

Ye well, strtok became quite slow, gotta edit around 2500 lines into dcmd which will take a lot of time, but I only care if it will become faster
Had to tab more than 3000 times once (1000 lines lack of intending skills :P)
Reply
#10

dudb uses fwrite too.

If you just want to write something to a file use fwrite and if you need a complete file and account system use dudb.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)