DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15724>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15724 WSDL2Java takes hours on large files ------- Additional Comments From [EMAIL PROTECTED] 2002-12-31 21:26 ------- The attached patch is against the 12/26 CVS repository. It includes the following mods: Introduce caches for base types on complexType nodes. Replace SymbolTable.types Vector-based index with specialized Maps, making index access time O(1) rather than O(n) Restrict searches for types to a types-only index rather than one which blends types and elements. Canonicalize QName creation. Removed throwaway QName objects that were being created solely for the purpose of asking questions about namespace/localname, when that information is already available on the DOM Node object. Refactored all code of this type to use a simple method in SchemaUtils. Made isSimpleType use a HashSet instead of a linear search. Cleaned up some wasted temporary objects in oft-called SchemaUtils methods.