chaokunyang commented on issue #1548: URL: https://github.com/apache/incubator-fury/issues/1548#issuecomment-2067531898
The `com.github.luben.zstd.ZstdInputStreamNoFinalizer#available` return `1` instead of actual available data, which make the read slow. I do think it should return acutal available data: ```java public synchronized int available() throws IOException { if (this.isClosed) { throw new IOException("Stream closed"); } else { return !this.needRead ? 1 : this.in.available(); } } ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@fury.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@fury.apache.org For additional commands, e-mail: commits-h...@fury.apache.org