commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stepan Koltsov (JIRA)" <>
Subject [jira] Updated: (LANG-293) StringEscapeUtils.unescape* can be faster
Date Tue, 31 Oct 2006 02:58:17 GMT
     [ ]

Stepan Koltsov updated LANG-293:

    Attachment: commons-lang-unescape-performace2-stepancheg-2006-10-31.diff

> StringEscapeUtils.unescape* can be faster
> -----------------------------------------
>                 Key: LANG-293
>                 URL:
>             Project: Commons Lang
>          Issue Type: Improvement
>    Affects Versions: Nightly Builds
>            Reporter: Stepan Koltsov
>         Attachments: commons-lang-unescape-performace2-stepancheg-2006-10-31.diff
> Typical string that need to be unescaped contains almost no XML entities, so copying
input string to output buffer char by char is slow.
> I've refactored Entities.unescape() so it works faster. Going to submitting patch and
> Patch contains both hacked and original versions of unescape, to run tests.
> Test shows that performance remains same on short strings, and much better or large strings
with rare entities.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message