Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Deflate and inflate
#10
You can use it with your program to reduce memory usage, but usually you'd need to _INFLATE the compressed data before you can interact with it.

Think of writing a program to use to study the whole bible with. How many bytes of memory would you use to store the whole thing uncompressed? (350,000 or so, I think) But here's an idea -- what if you compress each chapter, and only uncompress the one the user is actually studying? How much memory would you save?

You compress things to reduce their size on disk, or in memory, but you need to uncompress them before you can make use of them. Wink
Reply


Messages In This Thread
Deflate and inflate - by PhilOfPerth - 05-19-2022, 05:11 AM
RE: Deflate and inflate - by SMcNeill - 05-19-2022, 09:30 AM
RE: Deflate and inflate - by TarotRedhand - 05-19-2022, 11:46 AM
RE: Deflate and inflate - by madscijr - 05-19-2022, 03:49 PM
RE: Deflate and inflate - by SMcNeill - 05-19-2022, 02:14 PM
RE: Deflate and inflate - by SMcNeill - 05-19-2022, 02:29 PM
RE: Deflate and inflate - by PhilOfPerth - 05-19-2022, 11:27 PM
RE: Deflate and inflate - by SMcNeill - 05-20-2022, 01:06 AM
RE: Deflate and inflate - by PhilOfPerth - 05-20-2022, 01:26 AM
RE: Deflate and inflate - by SMcNeill - 05-20-2022, 01:38 AM
RE: Deflate and inflate - by PhilOfPerth - 05-20-2022, 09:18 AM



Users browsing this thread: 2 Guest(s)