uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From holmberg2066@comcast.net (g...@holmberg.name)
Subject Re: Why XmiCasSerializer is slow
Date Wed, 11 Jul 2007 17:39:32 GMT


> 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

Mime
View raw message