Community
Participate
Working Groups
build 20021216 InputStreamReader should usually be wrapped with a BufferedReader for a cheap potential performance gain. See bug 20791. The following places do not currently do this, probably because they were changed after bug 20791 was fixed: ZipFileResourceExporter.appendToManifest ZipFileExporter.appendToManifest PerspectiveRegistry.loadCustom
The exporter was left out because all it is doing is bulding manifest files which are very small - buffering is not required and it is not worth creating the extra objects. I assume it is the same deal for the PerspectiveRegistry but I will reassign to Eduardo to confirm.
The code in PerpectiveRegistry is only used for backward compatibility but I added this change since it is very simple. Only wrap the InputStreamReader with a BufferedReader. Moving back to Tod. In case you want to reconsider.
Marking as closed as all instances have been reviewed.
Marking as closed.