commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (LANG-1151) Performance improvements for NumberUtils.isParsable
Date Mon, 22 Jun 2015 11:56:00 GMT


ASF GitHub Bot commented on LANG-1151:

GitHub user juanpablo-santos opened a pull request:

    fix LANG-1151

    * ~2.5x performance increase wrt 3.4 version
    * added a couple checks more to unit tests

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

    $ git pull LANG-1151

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

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

    This closes #99
commit cdfedf5fc8abdae7c09b85edc26602a0ce32f238
Author: Juan Pablo Santos Rodríguez <>
Date:   2015-06-22T11:53:06Z

    fix LANG-1151, ~2.5x performance increase wrt 3.4 version; added a couple checks more
to unit tests


> Performance improvements for NumberUtils.isParsable
> ---------------------------------------------------
>                 Key: LANG-1151
>                 URL:
>             Project: Commons Lang
>          Issue Type: Bug
>          Components: lang.math.*
>    Affects Versions: 3.4
>            Reporter: Juan Pablo Santos Rodríguez
> NumberUtils.isParsable contains String comparisons + some String replacing, which could
be improved in terms of performance. 

This message was sent by Atlassian JIRA

View raw message