From: Braden M. <br...@en...> - 2008-08-26 16:00:37
|
On Tue, 2008-08-26 at 11:06 +0200, Johannes Brand wrote: > I tested the OpenVRML Parser for VRML97 files and it worked well, so > far. Unfortunately it takes quite a long time to parse/load VRML files > of sizes around 1 or 2Mb. Is it normal to have parsing times around 1 > Minute for file sizes of 2.3 MB when just using the > "openvrml::null_vrml97_parse_actions" and the standard "parse" function > of "pretty_print.cpp" ?? The parser does a good deal of semantic checking, so it's probably never going to be the fastest parsing solution possible. However, these times do sound excessive. Profiling the parse using input like you have available would be a very useful activity. Depending on where the problems lie, it may be possible to make some significant improvements. -- Braden McDaniel e-mail: <br...@en...> <http://endoframe.com> Jabber: <br...@ja...> |