You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Marshall Schor (JIRA)" <de...@uima.apache.org> on 2015/12/28 21:48:49 UTC
[jira] [Created] (UIMA-4720) UV3 Reuse existing type system if
equal at commit time
Marshall Schor created UIMA-4720:
------------------------------------
Summary: UV3 Reuse existing type system if equal at commit time
Key: UIMA-4720
URL: https://issues.apache.org/jira/browse/UIMA-4720
Project: UIMA
Issue Type: Sub-task
Components: Core Java Framework
Reporter: Marshall Schor
Assignee: Marshall Schor
Fix For: 3.0.0SDKexp
When committing a type system, it is possible (and in some use cases, frequently) that the type system is "equal" to an already-in-use committed type system. In this case, arrange to reuse the existing type system.
Use a weak-ref map to keep track of available type systems. Include an appropriate hashcode and equals for committed type systems that cache the hashcode to avoid expensive computation.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)