On Wed, 2004-11-17 at 13:18 +0100, Jorg Heymans wrote: > Hi, > > Am i correct in saying that (batik running in applet environment) > > mycanvas.setURI() > > is much faster than > > Document doc = new SAXSVGDocumentFactory().createSVGDocument(uri, > connection.getInputStream()) > mycanvas.setDocument(doc); > > > Can someone explain me why this is and how i could make solution 2) faster?
I have not checked the implementation of setURI(), but colud you try using a BufferedInputStream > > Regards > Jorg > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] ________________________________________ Robert Marcano web: http://www.marcanoonline.com/ blog: http://www.marcanoonline.com/plog/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]