Uploaded image for project: 'OpenNLP'
  1. OpenNLP
  2. OPENNLP-1587

Reduce creation of prefix String objects in SequenceCodec classes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.3.3
    • 2.4.0
    • Name Finder
    • None

    Description

      The two classes implementing SequenceCodec, create unnecessary string objects. This results in a significant object overhead at runtime, during model training for instance.

      Aims:

      • Optimize BioCodec and BilouCodec by reducing object creations by introducing constants for "constant" prefixes

      Attachments

        Activity

          People

            mawiesne Martin Wiesner
            mawiesne Martin Wiesner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: