[A83] Re: Compression update


[Prev][Next][Index][Thread]

[A83] Re: Compression update




> Van: Darren <qarnos@dingoblue.net.au>
> 
> Henk Poley wrote:
> 
> > > Van: Darren <qarnos@dingoblue.net.au>
> > >
> > > Anyway, some of the features I am implementing in the 'proper'
library
> > > are:
> > > [..]
> > > 3) 'buffer collision' detection and hopefully repair!
> > >     This is for people who want to be tricky. You could, for
instance,
> > > set the output pointer to say, 64 bytes behind the input pointer.
This
> > > would save lots of memory, but a problem will occur if the output
> > > pointer 'catches up' to the input pointer.
> >
> > Uhm, you said that LZSS can maximaly have a 'non-compressionrate' of
> > 112.5%. So just calc you offset...
> 
> Ahhh... But what if you want to compress a 10k file with old 500 bytes of
free
> RAM? It may still be possible to compress the file without any problems,
but
> you won't know until you actually try to compress it. Users may be a bit
miffed
> by a "file to large to compress" error message ;)

You didn't quote it all... I also said: "But I get your point. You probably
want to squize more out if it ;-)"

And indeed we don't want to go back to the days of ZASMLOAD...

	Henk Poley <><