About Store Forum Documentation Contact
Donations:
227$/mo



Post Reply 
Memory Compression
Author Message
fatcoder Offline
Member

Post: #1
Memory Compression
I see there are functions for applying various compression algorithms to files, however I'm wondering if you could expose functions to allow those same compression algorithms to be used on in-memory data, such as a Str for example, or even just a Ptr to a location in memory with a specified size?
02-25-2014 10:14 AM
Find all posts by this user Quote this message in a reply
MrPi Offline
Member

Post: #2
RE: Memory Compression
You could use the File interface for that. It also supports in-memory.
(This post was last modified: 02-25-2014 12:51 PM by MrPi.)
02-25-2014 12:51 PM
Find all posts by this user Quote this message in a reply
fatcoder Offline
Member

Post: #3
RE: Memory Compression
Thanks buddy, yes I know I could use the File interface, however I'm not sure how much overhead there would be when converting data to and from a File, i.e. would there be any significant performance penalties with using the File interface in this way?
02-26-2014 12:28 AM
Find all posts by this user Quote this message in a reply
Post Reply