W3C home > Mailing lists > Public > www-rdf-comments@w3.org > October to December 1999

Problem of reading RDF source in SiRPAC

From: Fang Wei <fwei@informatik.uni-freiburg.de>
Date: Wed, 20 Oct 1999 13:20:53 +0200 (MET DST)
Message-Id: <199910201120.NAA11443@avalon.informatik.uni-freiburg.de>
To: www-rdf-comments@w3.org
Anyone who is using SiRPAC and want to read a little bit bigger RDF source file 
would probably have problem with time. It takes unreasonably long while reading 
the RDF source.
The reason is in the class 'RDFSource.java'. The program does read the file 
(InputStream) byte by byte in the function 'fetchByteStream'. 
A solution could be: open a byte array buffer, say, 1k or 10k, then read from 
the InputStream to the buffer everytime, then the speed is much faster.

fang
Received on Wednesday, 20 October 1999 07:21:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 21 September 2012 14:16:27 GMT