[REBOL] Re: Compression
From: arolls:bigpond:au at: 27-Jun-2001 16:15
I noticed that the straight text compression
is generally better than the binary mode
compression - Try this in a directory
with text files:
foreach f read %./ [if not dir? f [
print [
f
length? read f length? compress read f
length? read/binary f length? compress read/binary f
]
]]
I saw for most files the second number
smaller than the fourth.
I had no trouble using your method to
'do compressed scripts.
I think Brett is right, and you have
overwritten your original filename at
some point, or the floppy data is a bit
wrong.
Overwriting a file is a common way
to lose data.
I was most happy to learn that rebol's
'rename function prevents you from
overwriting a file that exists already.
Anton.