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

reduce java object creation around Sofa info

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 2.7.0SDK
    • Core Java Framework
    • 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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: