Re: [jr3] Bundle format

2010-02-25 Thread Marcel Reutegger
On Tue, Feb 23, 2010 at 15:03, Jukka Zitting wrote: > Hi, > > On Sat, Feb 20, 2010 at 1:16 PM, Thomas Müller wrote: >> I would like to define a new storage format for nodes and properties. > > More generally, I'd like to raise the bundle abstraction to a higher > level. As a first step I'd make t

Re: [jr3] Bundle format

2010-02-23 Thread Thomas Müller
Hi, I made a prototype for the Bundle and Value classes: http://h2database.com/p.html#2f2ad854cbadd3b3c3676f6e02dc8058 A few remarks: The Bundle class uses variable size integers / longs heavily. This saves quite a lot of space. This is similar to SQLite, Protocol Buffers, and H2. Some code is f

Re: [jr3] Bundle format

2010-02-23 Thread Jukka Zitting
Hi, On Sat, Feb 20, 2010 at 1:16 PM, Thomas Müller wrote: > I would like to define a new storage format for nodes and properties. More generally, I'd like to raise the bundle abstraction to a higher level. As a first step I'd make the PersistenceManager interface aware of bundles (i.e. load and

[jr3] Bundle format

2010-02-20 Thread Thomas Müller
I would like to define a new storage format for nodes and properties. A few ideas: == Name and Namespace Index == Currently each new property and node name is stored in the name index. Each namespace is stored in the namespace index. Those indexes are used to compress the data. There are several