On Wednesday 13 August 2008, Shawn O. Pearce wrote:As for how to estimate entropy, isn't that just a matter of feeding it through zlib and compare the output size to the input size? Especially if we're already about to feed it through zlib anyway... In other words, feed (an initial part of) the data through zlib, and if the compression ratio so far looks good, keep going and write out the compressed object, otherwise abort zlib and write out the original object with compression level 0. Agreed. Have fun! ...Johan -- Johan Herland, <johan@herland.net> www.herland.net -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Andrew Morton | -mm merge plans for 2.6.23 |
| James Bottomley | [Ksummit-2008-discuss] Fixing the Kernel Janitors project |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
git: | |
| Gerrit Renker | [PATCH 18/37] dccp: Support for Mandatory options |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | Re: [GIT]: Networking |
| Tantilov, Emil S | WARNING: at include/net/sock.h:417 udp_lib_unhash |
