You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Dawid Weiss (JIRA)" <ji...@apache.org> on 2010/01/22 09:28:21 UTC

[jira] Issue Comment Edited: (MAHOUT-264) Make mahout-math compatible with Java 1.5 (bytecode and standard library).

    [ https://issues.apache.org/jira/browse/MAHOUT-264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12803346#action_12803346 ] 

Dawid Weiss edited comment on MAHOUT-264 at 1/22/10 8:28 AM:
-------------------------------------------------------------

Because these methods in java.util.Arrays have been introduced as part of the Java 1.6 API and are not present on JRE 1.5. They are also intrinsic methods (replaced by HotSpot with efficient native code); I believe the overhead of using System.arraycopy instead is minimal (I haven't verified this, but I believe Arrays intrinsics don't nullify the array space before copying, while the replacement does).

      was (Author: dawidweiss):
    Because these methods in java.util.Arrays have been introduced as part of the Java 1.6 API and are not present on JRE 1.5. They are also intrinsic methods (replaced by HotSpot with efficient Java code); I believe the overhead of using System.arraycopy instead is minimal (I haven't verified this, but I believe Arrays intrinsics don't nullify the array space before copying, while the replacement does).
  
> Make mahout-math compatible with Java 1.5 (bytecode and standard library).
> --------------------------------------------------------------------------
>
>                 Key: MAHOUT-264
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-264
>             Project: Mahout
>          Issue Type: Wish
>          Components: Math
>    Affects Versions: 0.2
>            Reporter: Dawid Weiss
>            Assignee: Benson Margulies
>            Priority: Minor
>             Fix For: 0.3
>
>         Attachments: MAHOUT-264.patch
>
>


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