When .NET's BinaryFormatter is used to serialize an object graph, is any type of compression applied?
I ask in the context of whether I should worry about the object graph having many repeated strings and integers.
Edit - Hold on, if strings are interned in .NET, there's no need to worry about repeated strings, right?
...
I need a FAST decompression routine optimized for restricted resource environment like embedded systems on binary (hex data) that has following characteristics:
Data is 8bit (byte) oriented (data bus is 8 bits wide).
Byte values do NOT range uniformly from 0 - 0xFF, but have a poisson distribution (bell curve) in each DataSet.
Dataset ...
I am using SharpZipLib to zip up a folder with subdirectories and this is working fine. What I would like to do is strip off the parents directories of the first child file so the whole structure that is irrelevant isn't carried forth...
Example:
c:\a\b\c\d\e\f\g\h\file1.txt
c:\a\b\c\d\e\f\g\h\file2.txt
c:\a\b\c\d\e\f\g\h\i\file1.txt...
Hello.. I am trying to decompress a (.gz) file using the GZipStream class that is included in the .NET framework. I am using the MSDN documentation and I keep getting this exception: "Writing to the compression stream is not supported."
Here is the application source:
try
{
var infile = new FileStream(@"C:...
Friends,
Here is the situation: An ASP.NET page has following query string parameter.
MyServer.com/ShowSomething.aspx?IDs=1000000012,1000000021,1000000013,1000000022&...
Here IDs parameter will always have numbers separated by something, in this case ",". Currently there are 4 numbers but normally they would be in between 3-7.
Now, I...
I am using eclipse to build application for Blackberry. I attached a zip file with my application. Please help me, I don't know how to retrieve data form the zip file in application development.
...
Hello, i'm writing project that stores data, so i need to compress it. I've tried zlib but it's bottleneck of my project. So maybe there is faster solution. I don't need a great compress ratio, but i'm looking for really fast compression. Are there any other data compression libraries except zlib, that are really free and can be used in ...
I am using eclipse & JDE to develop Blackberry Application. I compressed a folder which has set of images in .jpg and .png formats. Please help me, how to retrieve images form the zipped file?
Thank you.....
...
Hi Guys,
I have searched around and havent really found an answer anywhere and this is still not working for me. I am using compression in IIS7 and it doesn't appear to be working. The code I am using is per
<urlCompression
doStaticCompression="true" />
<httpCompression
cacheControlHeader="max-age=86400"
sendCach...
Hi Guys,
I am using Google Page Speed on my website in IIS7 and I was wondering how to set
Leverage browser caching - The following resources are missing a cache expiration
Leverage proxy caching - Consider adding a "Cache-Control: public" header to the following resources.
I am using doDynamicCompression in my web.config and little...
Hey,
I have been reading different articles on GZipping and am wondering what is the best way to gzip my files including:
PHP
JS
CSS
I saw this article: http://blog.mycila.com/2009/08/godaddy-gzip-compression.html
Kind of blurry on the whole deal.
Any suggestions?
Thanks,
Ryan
...
Hi,
I'm writing an application that needs to uncompress data compressed by another application (which is outside my control - I cannot make changes to it's source code). The producer application uses zlib to compress data using the z_stream mechanism. It uses the Z_FULL_FLUSH frequently (probably too frequently, in my opinion, but that'...
I need to compress some binary files as quickly as possible with PHP - it needs to be reasonably fast and easy to use. What options can you fantastic people recommend? :)
Jamie
...
I need to manually edit some of the files inside of the .cmp file created by stsadm export command (or SharePoint Designer backup). I can extract the files and make the edits, but don't know how to properly re-compress the files so that the resulting .cmp file is valid for use with stsadm import.
...
Is it possible to programmatically zip/unzip files in vb.net? Meaning, not that it will extract the files for the user, but take the files inside the zip and be able to use them in the application? Then, is it possible for this to create a zip?
I couldn't seem to find a compression namespace anywhere.
Thanks for the help!
...
Hi,
I'm having to return ~70,000 rows of 4 columns of INTs in a specific order and can only use very shallow caching as the data involved is highly volatile and has to be up to date. One property of the data is that it is often highly repetitive when it is in order.
I've started to look at various methods of reducing the row count in o...
Hello,
I have a program that links in zlib v1.2.3 and it got the following error:
deflateEnd error 'no msg' kind: 'Z_DATA_ERROR': -3
The program has work successfully with lots of different files to be compressed.
Does anyone know what the 'no msg' of kind Z_DATA_ERROR means and how one would go about debugging it?
Thanks.
-Willia...
I work on front end development and am looking to find a solution for working with javaScript between (non compressed and multiple files) development environment and (compressed and combined files) live environment.
I have found a solution with CSS which means that I only need to include one global CSS file with imports, then we combine...
What's the concept behind zip compression? I can understand the concept of removing empty space etc, but presumably something has to be added to say how much/where that free space needs to be added back in during decompression?
What's the basic process for compressing a stream of bytes?
...
I want to store billions (10^9) of double precision floating point numbers in memory and save space. These values are grouped in thousands of ordered sets (they are time series), and within a set, I know that the difference between values is usually not large (compared to their absolute value). Also, the closer to each other, the higher ...