SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Includes

Reply
 
Thread Tools Display Modes
Old 05/09/2011, 12:57 AM   #1
[S]trong
Guest
 
Posts: n/a
Default bIni V2 (easy and fast write/read ini)

What is
bIni is a basic, simple and efficient INI system.



Speed Tests
In testes, Bini is one of the three more fastest systems

Like:

[.] Fini 5.0
[.] Y_INI
[.] DOF2

Algorithm
Based on the theory of cache the system allocate file on variables (for quick access)
Using a methodology cited by Double-O-Seven the system uses track number of strings (quick access after strcmp)




Download
It is in Pastebin bini.inc but, new mirrors will be accepted.

Pastebin: http://pastebin.com/AYP0Tw6Q





Authors
  • Bruno da Silva - General Developer
  • Robson da Silva - General Developer
  • Double-O-Seven - Tip of Algorithms

Last edited by [S]trong; 05/09/2011 at 05:49 AM.
  Reply With Quote
Old 05/09/2011, 01:12 AM   #2
[MNC]Azz
Big Clucker
 
[MNC]Azz's Avatar
 
Join Date: Jul 2010
Location: Under a bridge
Posts: 160
Reputation: 1
Default Re: bIni V2 (easy and fast write/read ini)

Well thats damn fast
but why do you guys try to be the fastest? its not like theres a race in SAMP??
__________________
[MNC]Azz is offline   Reply With Quote
Old 05/09/2011, 01:21 AM   #3
Kar
High-roller
 
Join Date: May 2010
Location: Black Asylum
Posts: 2,896
Reputation: 286
Default Re: bIni V2 (easy and fast write/read ini)

NO credits to Y_Less?

pawn Code:
#define strcpy(%0,%1,%2)                strcat((%0[0] = EOS, %0), %1, %2 + 1)
__________________

  • Twisted Metal's Website & Forums are up! http://tm.lvcnr.net

    Are you prepared to get your wish? Twisted Metal SA-MP is coming soon! Join the IRC Channel: #tm on irc.tl - @tmsamp_dev

server.lvcnr.net:7777 | samp://server.lvcnr.net:7777
www.lvcnr.net | @kcnrdev
Channel: #lvcnr on irc.tl
Kar is offline   Reply With Quote
Old 05/09/2011, 01:26 AM   #4
[S]trong
Guest
 
Posts: n/a
Default Re: bIni V2 (easy and fast write/read ini)

Bruno make this function , it is soul simple.

Last edited by [S]trong; 05/09/2011 at 06:59 AM.
  Reply With Quote
Old 05/09/2011, 01:28 AM   #5
TheArcher
High-roller
 
TheArcher's Avatar
 
Join Date: Dec 2009
Location: Home
Posts: 2,509
Reputation: 233
Default Re: bIni V2 (easy and fast write/read ini)

Do write and read file test by looping 1000 times.
__________________
TheArcher is offline   Reply With Quote
Old 05/09/2011, 01:29 AM   #6
[S]trong
Guest
 
Posts: n/a
Default Re: bIni V2 (easy and fast write/read ini)

Anthony_prince
Exactly, I already know what happens, is HASH
We are looking for an efficient Hash, number
  Reply With Quote
Old 05/09/2011, 01:30 AM   #7
Crimson
Little Clucker
 
Join Date: May 2011
Posts: 35
Reputation: 0
Default Re: bIni V2 (easy and fast write/read ini)

I'm not gonna believe sh*t from you unless you can post the script you are using to test. And that you compared this to other INI scripts.

I could care less about how fast your script is. A player is not really gonna care about Milliseconds. I care about the functionality of a script. This has almost all of the same features as other INI scripts.

Its fine if your making this for personal use, but there are already so many other INI scripts. I want to see some different, something that is improved and better then anything before it.

So post your testing script and compare it with other INI scripts and I will be happy.
__________________
a.k.a Victor on IRC
Crimson is offline   Reply With Quote
Old 05/09/2011, 01:33 AM   #8
[S]trong
Guest
 
Posts: n/a
Default Re: bIni V2 (easy and fast write/read ini)

So post your testing script and compare it with other INI scripts and I will be happy.

Yes, it is release version, even after we put the hash, just left to follow the development

Tips will be accepted
  Reply With Quote
Old 05/09/2011, 01:35 AM   #9
SlashPT
High-roller
 
SlashPT's Avatar
 
Join Date: Sep 2009
Location: Hell
Posts: 2,071
Reputation: 107
Default Re: bIni V2 (easy and fast write/read ini)

Quote:
Originally Posted by Crimson View Post
I'm not gonna believe sh*t from you unless you can post the script you are using to test. And that you compared this to other INI scripts.

I could care less about how fast your script is. A player is not really gonna care about Milliseconds. I care about the functionality of a script. This has almost all of the same features as other INI scripts.

Its fine if your making this for personal use, but there are already so many other INI scripts. I want to see some different, something that is improved and better then anything before it.

So post your testing script and compare it with other INI scripts and I will be happy.
why are you so mad at him btw?

anyways here's my the testing script made by Double-O-Seven...thanks btw...

http://solidfiles.com/d/b50ca/
__________________

Zh3r0Jansish
SlashPT is offline   Reply With Quote
Old 05/09/2011, 01:53 AM   #10
Crimson
Little Clucker
 
Join Date: May 2011
Posts: 35
Reputation: 0
Default Re: bIni V2 (easy and fast write/read ini)

Quote:
Originally Posted by SlashPT View Post
why are you so mad at him btw?

anyways here's my the testing script made by Double-O-Seven...thanks btw...

http://solidfiles.com/d/b50ca/

I'm just mad at him because he is claiming something but not showing proof.


but now seeing that script, He is right. It just really makes me angry when people claim something and can't back it up.. That is all.
__________________
a.k.a Victor on IRC
Crimson is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
io read/write DRIFT_HUNTER Help Archive 2 03/05/2011 04:52 PM
Using file.inc to write and read dynamics dcmd_crash Help Archive 2 27/04/2010 06:21 PM
How to write and read on SeifAdmin? Torran Help Archive 21 11/02/2010 04:29 PM
Read and Write Master_FM Help Archive 0 09/09/2009 09:45 AM


All times are GMT. The time now is 07:44 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.