You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Martin Wiesner (Jira)" <ji...@apache.org> on 2024/07/03 06:12:00 UTC
[jira] [Closed] (OPENNLP-1587) Reduce creation of prefix String objects in SequenceCodec classes
[ https://issues.apache.org/jira/browse/OPENNLP-1587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Wiesner closed OPENNLP-1587.
-----------------------------------
Resolution: Fixed
> Reduce creation of prefix String objects in SequenceCodec classes
> -----------------------------------------------------------------
>
> Key: OPENNLP-1587
> URL: https://issues.apache.org/jira/browse/OPENNLP-1587
> Project: OpenNLP
> Issue Type: Improvement
> Components: Name Finder
> Affects Versions: 2.3.3
> Reporter: Martin Wiesner
> Assignee: Martin Wiesner
> Priority: Minor
> Fix For: 2.3.4
>
>
> 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
--
This message was sent by Atlassian Jira
(v8.20.10#820010)