You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Naumova Natalya (JIRA)" <ji...@apache.org> on 2007/08/31 14:36:31 UTC

[jira] Commented: (HARMONY-4679) [startup] java.net.URL implementation without regex classes loading

    [ https://issues.apache.org/jira/browse/HARMONY-4679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12524068 ] 

Naumova Natalya  commented on HARMONY-4679:
-------------------------------------------

Thanks Tim, I agree. Your patch seems to be more pretty.. And it gives the same result (removes regex and boost on HW). So, please, go ahead to commit it. As for '/' - sure, it's useless.

> [startup] java.net.URL implementation without regex classes loading
> -------------------------------------------------------------------
>
>                 Key: HARMONY-4679
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4679
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Classlib
>            Reporter: Naumova Natalya 
>            Assignee: Tim Ellison
>         Attachments: harmony-4679.patch, java.net.URL.without.regex.patch
>
>
> When any class loads java.net.URL is used. However it loads ~60 classes from regex.jar. We can avoid this to re-write using of java.lang.String.matches method in net.URL, by using indexOf and substring instead of. Then no regex classes are loaded during the startup. Speedup on HelloWorld is ~7%.

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