You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/01/15 22:06:26 UTC

[jira] [Commented] (OPENNLP-942) Replace IntegerPool with auto boxing

    [ https://issues.apache.org/jira/browse/OPENNLP-942?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15823291#comment-15823291 ] 

ASF GitHub Bot commented on OPENNLP-942:
----------------------------------------

GitHub user kottmann opened a pull request:

    https://github.com/apache/opennlp/pull/66

    OPENNLP-942: [WIP, don't merge]  Replace IntegerPool usage with auto boxing

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/kottmann/opennlp OPENNLP-942

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/opennlp/pull/66.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #66
    
----
commit f06bab48060d2fb4075a339b7eb01887a241d403
Author: Jörn Kottmann <jo...@apache.org>
Date:   2017-01-15T22:04:26Z

    OPENNLP-942: Replace IntegerPool usage with auto boxing

----


> Replace IntegerPool with auto boxing
> ------------------------------------
>
>                 Key: OPENNLP-942
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-942
>             Project: OpenNLP
>          Issue Type: Improvement
>          Components: Sentence Detector
>            Reporter: Joern Kottmann
>            Assignee: Joern Kottmann
>            Priority: Trivial
>             Fix For: 1.7.1
>
>
> This should run well on a modern JVM. Integer.valueOf is caching  ints internally partly, so this should be almost the same.
> As part of this change IntegerPool should be deprecated.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)