[REBOL] Speed and Memory Management in REBOL Re:
From: agem:crosswinds at: 6-Sep-2000 0:23
--- [princepawn--lycos--com] wrote on 5-Sep-2000/12:52:36-7:00
> I was glancing at one of the most popular scripts at the REBOL archive and deve
> loped some questions:
> 1- Is it possible to incrementally write to a file in REBOL?
very similar to series. 'skip , 'change ..
> 2- Is it possible to append to a file in REBOL
somewhere in [help open] ?
> 3- This script seems in-efficient and memory wasteful: it reads and entire file
> into a temporary array and then converts the array. In Perl, I could do each
> conversion as I read in each line and write each line out after each conversion.
o yes, i remember :) today's systems will not really read
<32K , i expect. all other is buffering & simulation :)
a single os-call to get it all is usually faster.
simpler to, luckily :)
memory? some 10 KB compared to any ram outside museum - where is my microscope? ;-)