This is the mail archive of the ecos-devel@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Why is ZLIB_COMPRESSION_OVERHEAD soooo big?


How knows why zlib needs more 3/4 of my RAM per default? What's the minimum ZLIB_COMPRESSION_OVERHEAD ?

decompress.c:

78 #ifdef CYGOPT_REDBOOT_FIS_ZLIB_COMMON_BUFFER
79 # define ZLIB_COMPRESSION_OVERHEAD CYGNUM_REDBOOT_FIS_ZLIB_COMMON_BUFFER_SIZE
80 #else
81 # define ZLIB_COMPRESSION_OVERHEAD 0xC000
82 #endif


Would zlib work with 0c8000?

Thanks
Oliver Munz



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]