[Release] Archimedes RDB Engine

04/20/2022 05:23 SilentWisdom#1
Introducing Archimedes (Arc)

What is it?

[Only registered and activated users can see links. Click Here To Register...] is the successor to the [Only registered and activated users can see links. Click Here To Register...] rdb engine [Only registered and activated users can see links. Click Here To Register...] has been using since v4.8 or so.

Why is it?

During a push for new functionality around v4.17 of Grim I realized that Daedalus had reached it's limits and had no more to give. On a whim I began to write a new concept that hadn't fully formed in my mind. As this concept rooted in polymorphism and abstraction began to take form I noticed the speed increase on read/write operations was noticeable to say the very least.

Example: Mind you these times are from my pc which isn't great and does not use a SSD to load data!

db_item read:

- [Only registered and activated users can see links. Click Here To Register...] ~1000ms
- Daedalus ~ 1400
- Archimedes ~ 700ms (As low as 425 on SSD)

What does this mean for me?

The rebuild also included a stream-lining of the structure lua layout. New ArcTypes were implemented to focus on speed. (e.g. the SKIP ArcType)

An entirely new [Only registered and activated users can see links. Click Here To Register...] was written in Markdown to not only teach you about how Arc itself works, but how to form structure lua to properly read nearly any known rdb.

How do I use it?

You can simply clone the repo from the link above and add a project reference to your current project or download the [Only registered and activated users can see links. Click Here To Register...]

Then call like below:

Code:
using Archimedes;

public class Foo
{
   var structObj = new StructureObject("C:\\Grimoire\\Structures\\ItemResource73.lua");

   structObj.Read("C:\\Dump\\rdb\\db_item.rdb");
}
Of course the above example is over simplified and if you would like to see a more detailed example please visit the [Only registered and activated users can see links. Click Here To Register...] of Grimoire.

Special Thanks

- Glandu2 : Thank you for inspiring the way strings are handled in Arc, the speed we gained from this was incredible.
04/20/2022 10:49 Nove240#2
As always, a very cool Release ! Thanks Smoke, Amazing !