Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.4
-
Fix Version/s: JRuby 1.5
-
Component/s: Extensions
-
Labels:None
-
Number of attachments :
Description
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.
Activity
Thomas E Enebo
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Component/s | Extensions [ 12281 ] | |
| Description |
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. |
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. |
Ola Bini
made changes -
| Resolution | Fixed [ 1 ] | |
| Status | Open [ 1 ] | Resolved [ 5 ] |
Charles Oliver Nutter
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |