> On 07.01.2016, at 21:34, Marshall Schor <[email protected]> wrote:
> 
> Looking at the code in CASImpl, I see
> (line 112) cas.impl.Serialization: public static void
> deserializeCASComplete(CASCompleteSerializer casCompSer ...) ->
> (line 1231) reinit(CASCompleteSerializer....) calls (line 1260)
> (line 1293) reinit( a bunch of arrays, including int[] fsIndex which is an 
> array
> of things to add to indexes) calls (line 1307)
> (line 1730) reinitIndexedFSs(int[] fsIndex) which has a double loop - outer 
> for
> views, inner for all indexed fs where it does
> (line 1770) addFS(fsIndex[i])
> 
> which does a one element add of the feature structure to the indexes.
> 
> Perhaps though I'm following the wrong code path ...

No, you're right. Wishful thinking on my side... :(

And to be sure I just tried CASCompleteSerializer
with a testcase that uses a degenerated CAS with all
annotations at 0,0 and it's dead slow.

-- Richard

Reply via email to