Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: [ANN] RebDB v1.1

From: atruter:labyrinth:au at: 22-Feb-2004 11:19

Hi Pekr,
> my friend looked for small DB, your solutions would be good for him, but > the app is supposed to run on old notebook with only 16MB RAM. Is there > really no way of how to get damned open/skip-or-whatever-would-help to > work?
We can certainly emulate: port: open/binary/direct/skip ... with port: open/binary/direct ... copy/part port ... perhaps replacing large "copy/part" operations with a "copy/part" loop of some sort, but I don't know how efficient this would be for large files in a low memory environment. It is certainly something I am looking at (including small-memory devices) along with the broader issue of, "How can I reduce REBOL memory usage to the bare minimum?". Using REBOL/Base along with aggressive 'unset usage is where I am starting from.
> Currently, in rebol, being able to only work with in-memory > storage is starting to be pretty painfull, I meet ppl here or there who > don't want to install full mySQL server and would be fine with some kind > of small rebol db, if that would not be memory based.
My position in a nutshell! The other case where not having direct/skip is a pain (and copy/part is not an acceptable workaround) is trying to read JPEG EXIF thumbnails over a dial-up line ... you have to read about 55Kb of the file just to get the 5Kb thumbnail (160x120) you need, ARGHHH! Regards, Ashley