uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Klügl <peter.klu...@averbis.com>
Subject Re: [jira] [Updated] (UIMA-4685) Support different CAS serializations in CAS Editor
Date Tue, 03 Nov 2015 10:22:41 GMT
Hi,

is there a faster solution for this:

org.apache.uima.cas.impl.XmiCasDeserializer.XmiCasDeserializerHandler.endDocument():
for (Entry<FSIndexRepositoryImpl, PositiveIntSet> e :
toBeAdded.entrySet()) {
        FSIndexRepositoryImpl indexRep = e.getKey();
        final PositiveIntSet todo = e.getValue();
        final IntListIterator it = todo.iterator();
        while (it.hasNext()) {
          indexRep.addFS(it.next());
        }
      }

Best,

Peter


Am 03.11.2015 um 10:58 schrieb Peter Klügl (JIRA):
>      [ https://issues.apache.org/jira/browse/UIMA-4685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
>
> Peter Klügl updated UIMA-4685:
> ------------------------------
>     Attachment: caseditor.csv
>
> Some profiling key figures 
>
>> Support different CAS serializations in CAS Editor
>> --------------------------------------------------
>>
>>                 Key: UIMA-4685
>>                 URL: https://issues.apache.org/jira/browse/UIMA-4685
>>             Project: UIMA
>>          Issue Type: New Feature
>>          Components: CasEditor
>>    Affects Versions: 2.8.1SDK
>>            Reporter: Peter Klügl
>>         Attachments: caseditor.csv
>>
>>
>> Support different CAS serializations in CAS Editor. Some recent profiling revealed
that, when opening a 35MB xmiCAS, the CAS Editor spends about 70% of its time for deserializing.
>
>
> --
> This message was sent by Atlassian JIRA
> (v6.3.4#6332)


Mime
View raw message