> Also perhaps we can drastically reduce the number of times the > serializer calls this method. Among other places, it looks like it is > called by Type.isArray, which is in turn called by > TypeSystem.subsumes. I'd have to run a test with the XmiCasSerializer > to see what the real call stack looks like.
Here's the call stack of the most expensive path, in case it helps: XmiCasSerializer$XmiCasDocSerializer.<many places> CASImpl.ll_getTypeClass(int) TypeSystemImpl.subsumes(int, int) TypeSystemImpl.ll_subsumes(int, int) TypeSystemImpl.ll_isArrayType(int) TypeSystemImpl.ll_isValidTypeCode(int) SymbolTable.getSymbol(int) Vector.get(int) Greg Holmberg
