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

Use iteratorWithSnapshot in the select methods

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.2.0uimaFIT
    • uimaFIT
    • None

    Description

      Since UIMA 2.7.0, there are "iterateWithSnapshot" methods that safeguard against modifying the indices while iterating over them. uimaFIT could avoid concurrency problems in client code by consistently using these new methods at the expense of some performances. I would expect though, that whoever wants to the the last piece of performance out of the code would not use the uimaFIT select methods anyway - they would try to optimize iteration order at all cost.

      Attachments

        Issue Links

          Activity

            People

              rec Richard Eckart de Castilho
              rec Richard Eckart de Castilho
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: