hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-6623) Add StringUtils.split for non-escaped single-character separator
Date Sat, 06 Mar 2010 07:33:27 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-6623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Todd Lipcon updated HADOOP-6623:
--------------------------------

    Attachment: hadoop-6623.txt

Simple implementation similar to the existing escapable StringUtils.split. I have not yet
benchmarked it, but my guess is that it's faster than String.split.

> Add StringUtils.split for non-escaped single-character separator
> ----------------------------------------------------------------
>
>                 Key: HADOOP-6623
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6623
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: util
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Minor
>         Attachments: hadoop-6623.txt
>
>
> This is for HDFS-1028 but useful generally. String.split("/") for example is way slower
than an implementation that is specific to only single-character separators.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message