Solved

Looking for freeware lib for memory compression/decompression

Posted on 2004-04-24
3
218 Views
Last Modified: 2013-11-20
I'm developing an app that reads in a relatively large text file (12 megs) before it can get started. Now I use a single raw read and do some parsing.

I'd like to reduce the load/launch time and thought I could shave some time by handling the file as compressed. I was hoping to get some guidance as to an easy to use freeware library (preferrably open source) that does speedy decompression. My thinking was to read it in, then do in-memory decompression. Also, I would want to be able to compress perhaps 5000 bytes to put in the registry as binary data. Some password protection or encription would be a plus, but not essential.

I'm getting ready to look at 7-up and ChilKat, but I thought I'd ask first before staring at them. I'm appreciate hearing from people with experience with either/both of the above, or a preferred alternative.

TIA
0
Comment
Question by:ee-user
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 10906947
zlib (http://www.gzip.org/zlib/) is free and open source.
0
 
LVL 44

Accepted Solution

by:
Karl Heinz Kremer earned 125 total points
ID: 10906953
This MFC project uses zlib, so you may get some inspiration from it: http://www.codeproject.com/cpp/zip.asp?df=100&forumid=818&exp=0&select=742790

Here you can find Windows DLLs of zlib: http://www.winimage.com/zLibDll/
0
 
LVL 7

Expert Comment

by:vijay_visana
ID: 10915588
If it is not neccessary  to read all file when your application show up use background worker thread.
If you provide some more detail about your application we may able to suggest some other way out.
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Whole sheet autoscrub still needed 19 53
ASCII Non-Printable characters/codes and their HTML equivalents 6 143
wordappend challenge 8 221
SQUD PROXY SERVER, UNIX, SLL/HTTPS 5 114
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question