[REBOL] Re: dbms3.r 01
From: g:santilli:tiscalinet:it at: 14-Jan-2002 22:19
Hello Rod!
On 14-Gen-02, you wrote:
RG> I am assuming (dangerous I know) that binary storage is an
RG> option at all. If you want a text based storage system then
RG> ignore this input. :-)
Text based for simplicity, but... (see below)
RG> I am concerned in my ignorance about your comment on REBOL
RG> not being able to seek "easily" on direct ports. Could you
RG> expand on this for me? It may be that REBOL just can't do the
If you open a file port as /direct, you can only seek forward
currently. This means you have to close the port and reopen it if
you need to go back... This is expected to change in the next
release.
RG> block oriented binary DB that I am envisioning - at this
RG> version anyway.
Will just be slow currently, but should perform better on the new
version of REBOL.
RG> 1. Every database has a leading "Master" block. This block
[...]
RG> I am leaving out lots of details for brevity and at this
RG> point want to follow Gabriele's lead and stop here and wait
RG> for reactions. I don't want to run off in a direction no one
...I've got a nice idea. :) After I have finished the on memory
low level functions, could you try doing a compatible version that
uses your binary format? So we'll offer four alternatives: in
memory, on disk a file per block (text), on disk one file (text),
on disk binary.
Regards,
Gabriele.
--
Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer
Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/