free

News

collapse

User Info

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

* Recent Posts

NOTICE OF PARKING ENFORCEMENT CHANGES by Huntsman
[June 19, 2025, 05:22:50 pm]


Re: Stopping by by Sinister
[June 08, 2025, 01:58:04 pm]


Re: Stopping by by Ehks
[June 04, 2025, 12:25:17 am]


Re: Rest in peace by Stefanrsb
[June 02, 2025, 03:38:02 am]


Re: [SA:MP]House of Sforza | The Elite Power | Estd. 2006 | LS - LV by Stefanrsb
[June 02, 2025, 03:09:22 am]


Re: The Soprano Family | Royal Loyalty by Stefanrsb
[June 02, 2025, 03:00:31 am]


Re: The Gvardia Family || San Fierro's Main Power || Best criminal group of 09/10/11 by Stefanrsb
[June 02, 2025, 02:47:01 am]


Re: BALLAS | In memory of INFERNO 9 and NBA by Stefanrsb
[June 02, 2025, 02:31:29 am]


Re: Count to 1,000,000. by Stefanrsb
[June 02, 2025, 02:15:04 am]


Re: Stopping by by Traser
[June 01, 2025, 10:23:13 pm]


Re: Stopping by by Old Catzu
[May 18, 2025, 07:27:06 pm]


Re: Stopping by by TheRock
[May 18, 2025, 06:44:49 am]

* Who's Online

  • Dot Guests: 363
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Birthday Calender

June 2025
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 [21]
22 23 24 25 26 27 28
29 30

[RS2 or Later] Use SQLite

stormeus · 561

0 Members and 1 Guest are viewing this topic.

Offline stormeusTopic starter

  • VC:MP Developer
  • VC:MP Scripter
  • *
    • Posts: 1775
    With us since: 06/03/2011
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
on: March 10, 2012, 11:53:50 am
Since a rather sizable amount of RS2 has already been written using hash tables, it's likely this idea won't be accepted for it. implying axxo is doing anything right now hhhhhh

Regardless, either in RS2.1, RS3, or whatever it's going to be called, file based storage should be abandoned, and SQLite should be used. It's stabler, easier to manage using something like SQLite Administrator, and is compact and smooth. I've seen hash table files before -- it's hard to efficiently go through them because everything is randomly sorted for the sake of efficiency, and not readability. Not only that, but either the hash tables are unloaded and reloaded every time they're used (effectively canceling out any performance advantage), or the server has to be stopped before editing, then reloaded.

The only disadvantages I can think of would be that it would require another reset of assets, and if it were to be built on top of the existing RS2 scripts, harder to implement.



Offline Klaus

  • VC:MP Division Leader
  • ******
    • Posts: 6348
    With us since: 30/12/2007
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Reply #1 on: March 10, 2012, 01:53:39 pm
Guess this one is up to whatever aXXo wants to do


Offline Call_me_Dad

  • Veteran
  • ***
    • Posts: 2483
  • [VU]aXXo
  • With us since: 23/11/2006
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Reply #2 on: March 11, 2012, 09:45:14 pm
Regardless, either in RS2.1, RS3, or whatever it's going to be called, file based storage should be abandoned, and SQLite should be used.
If this has to be done, it needs to be done right now, not stalled for RS2 or anything.
Players would hate to lose everything again.

But doing this before 2.0, will probably require re-writing like 75% of the script.
That is not feasible either.

So, I'll probably go along with Hash files.

Though I did some SQL vs Hash analysis before and was kind of undecided. But Im too tired to conclude that now as re-writing the whole thing is not really an option.



 


free
SimplePortal 2.3.7 © 2008-2025, SimplePortal