-
Enhancement
-
Resolution: Duplicate
-
P4
-
None
-
1.4.2
-
x86
-
windows_xp
FULL PRODUCT VERSION :
A DESCRIPTION OF THE PROBLEM :
Based on profiling, it looks like creating a Deflater() is expensive. I'd like to create one Deflater, then reuse it with multiple instances of GZipOutputStream. It doesn't look like there's a way to do that. DeflaterOutputStream and GZipOutputStream could use a good dose of refactoring to make them more amenable to subclassing.
REPRODUCIBILITY :
This bug can be reproduced always.
###@###.### 2005-06-08 06:57:29 GMT
A DESCRIPTION OF THE PROBLEM :
Based on profiling, it looks like creating a Deflater() is expensive. I'd like to create one Deflater, then reuse it with multiple instances of GZipOutputStream. It doesn't look like there's a way to do that. DeflaterOutputStream and GZipOutputStream could use a good dose of refactoring to make them more amenable to subclassing.
REPRODUCIBILITY :
This bug can be reproduced always.
###@###.### 2005-06-08 06:57:29 GMT
- duplicates
-
JDK-4452735 Add GZIPOutputStream constructor to specify Deflater
-
- Open
-