Zlib::GzipReader should wrap the GZIPInputStream in a BufferedInputStream for performance -----------------------------------------------------------------------------------------
Key: JRUBY-4310 URL: http://jira.codehaus.org/browse/JRUBY-4310 Project: JRuby Issue Type: Bug Affects Versions: JRuby 1.4 Reporter: Wayne Meissner Assignee: Wayne Meissner Priority: Trivial Fix For: JRuby 1.5 java.util.zip.GZIPInputStream is not internally buffered, so every call to read results in a JNI call to decompress a small amount of data. By simply wrapping the GZIPInputStream in a BufferedInputStream, the inflater overhead is reduced significantly. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email