Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-4179

reduce java object creation around Sofa info

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.0SDK
    • Component/s: Core Java Framework
    • Labels:
      None

      Description

      In many places, the sofa is obtained, and then some value of that is obtained. Each time this is done, unless low level APIs are used, a Java cover object (either the JCas Sofa, or the non-JCas Java cover object) is created (or looked up and fetched from a cache if the JCas cache is in use). This is unneeded; switch these to using the low level APIs unless there's a good reason to create the Java cover object.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            schor Marshall Schor
            Reporter:
            schor Marshall Schor
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development