ObjectTranslator icon indicating copy to clipboard operation
ObjectTranslator copied to clipboard

Skip the XML

Open gitface opened this issue 11 years ago • 0 comments

I found the XML part of this slows it down and it is almost 3 times faster by skipping the XML like this: var fullyQualifiedName:String = getQualifiedClassName(clazz).replace( /::/, "." );

instead of: var typeInfo:XML = describeType( clazz ); var fullyQualifiedName:String = [email protected]().replace( /::/, "." );

Not sure whether this creates other issues, but works great for me.

Have been working on a class that creates class files for nested types using ObjectTranslator and was testing the speed using the classes and subclasses it generated, is anyone else still interested in this?

gitface avatar Apr 17 '14 23:04 gitface