Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.14.0, 3.16.0
-
None
-
Unknown
Description
FileInputStreamCache extends InputStream but is missing a few delegates for its field "private InputStream stream;".
this implies calling methods from the parent which are suboptimal on performance level, for example "public int read(byte[] b, int off, int len)" on InutStream is looping byte by byte while the instance in the class field might have a specific optimised implementation.