Gianandrea Rigoni created CAMEL-17990:
------------------------------------------

             Summary: FileInputStreamCache is missing some InputStream delegates
                 Key: CAMEL-17990
                 URL: https://issues.apache.org/jira/browse/CAMEL-17990
             Project: Camel
          Issue Type: Improvement
          Components: camel-core
    Affects Versions: 3.16.0, 3.14.0
            Reporter:  Gianandrea Rigoni


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.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to