1. Basic Compression Library

Has anyone looked into adding the Basic Compression Library into Euphoria? It looks like it may be useful for adding in-built compression to Euphoria Database System. It might even be useful for compressing objects in memory to reduce footprint (with an optional --compression flag, perhaps?).

I'm really just throwing this out there since I don't recall it ever being discussed. So, discuss... tongue

-Greg

new topic     » topic index » view message » categorize

2. Re: Basic Compression Library

ghaberek said...

Has anyone looked into adding the Basic Compression Library into Euphoria? It looks like it may be useful for adding in-built compression to Euphoria Database System. It might even be useful for compressing objects in memory to reduce footprint (with an optional --compression flag, perhaps?).

I'm really just throwing this out there since I don't recall it ever being discussed. So, discuss... tongue

-Greg

I would not use it, as "compressing objects in memory" does not impress me and at best it is dangerous.
Without meaning to offend anybody, I would consider it a waste of time of the developers.

new topic     » goto parent     » topic index » view message » categorize

3. Re: Basic Compression Library

Vinoba said...

I would not use it, as "compressing objects in memory" does not impress me and at best it is dangerous.
Without meaning to offend anybody, I would consider it a waste of time of the developers.

True, I was just throwing it out there. But what about compression for large objects in EDS? This could be useful for storing binary "BLOB" data. Or perhaps for compressing and decompressing IL files? Perhaps I have a solution for want of a problem... getlost

-Greg

new topic     » goto parent     » topic index » view message » categorize

4. Re: Basic Compression Library

A couple of weeks ago I was tasked with restoring/creating sage accounting backup files, not that I had any inside information so it was all a bit of a reverse engineering job.

I had an argument with zlib (on which I think bcl is based) before finding a pkzip dll which worked a charm. The test was to compress/uncompress wholly-in-memory BLOBs, and I've written the uncompress via callbacks using sensibly-sized blocks, but not the compress yet. When/if I finish the latter (all in yukky C++ btw) I was planning on porting it to Eu.

NB: it would be a compress/uncompress routine that would work on files (already open for read/write at the correct location), or in-memory BLOBS, and NOT something you could just chuck a ".zip" or ".rar" etc file at.

Just letting you know my plans, no promises or timescales.

Regards, Pete

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu