You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Dave Brosius (JIRA)" <xe...@xml.apache.org> on 2005/10/28 06:59:55 UTC
[jira] Created: (XERCESJ-1110) [PATCH] System.arraycopy is more efficient, so use it
[PATCH] System.arraycopy is more efficient, so use it
-----------------------------------------------------
Key: XERCESJ-1110
URL: http://issues.apache.org/jira/browse/XERCESJ-1110
Project: Xerces2-J
Type: Improvement
Versions: 2.7.1
Reporter: Dave Brosius
Priority: Trivial
Attachments: system_arraycopy.diff
System.arraycopy is much more efficient than simple for loop copying, as it's
1) native
2) avoids all array range checks except one up front.
This patch changes this.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org
[jira] Resolved: (XERCESJ-1110) [PATCH] System.arraycopy is more efficient, so use it
Posted by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XERCESJ-1110?page=all ]
Michael Glavassevich resolved XERCESJ-1110:
-------------------------------------------
Resolution: Fixed
Thanks Dave, your patch is in SVN.
> [PATCH] System.arraycopy is more efficient, so use it
> -----------------------------------------------------
>
> Key: XERCESJ-1110
> URL: http://issues.apache.org/jira/browse/XERCESJ-1110
> Project: Xerces2-J
> Type: Improvement
> Versions: 2.7.1
> Reporter: Dave Brosius
> Assignee: Michael Glavassevich
> Priority: Trivial
> Attachments: system_arraycopy.diff
>
> System.arraycopy is much more efficient than simple for loop copying, as it's
> 1) native
> 2) avoids all array range checks except one up front.
> This patch changes this.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org
[jira] Assigned: (XERCESJ-1110) [PATCH] System.arraycopy is more efficient, so use it
Posted by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XERCESJ-1110?page=all ]
Michael Glavassevich reassigned XERCESJ-1110:
---------------------------------------------
Assign To: Michael Glavassevich
> [PATCH] System.arraycopy is more efficient, so use it
> -----------------------------------------------------
>
> Key: XERCESJ-1110
> URL: http://issues.apache.org/jira/browse/XERCESJ-1110
> Project: Xerces2-J
> Type: Improvement
> Versions: 2.7.1
> Reporter: Dave Brosius
> Assignee: Michael Glavassevich
> Priority: Trivial
> Attachments: system_arraycopy.diff
>
> System.arraycopy is much more efficient than simple for loop copying, as it's
> 1) native
> 2) avoids all array range checks except one up front.
> This patch changes this.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org
[jira] Closed: (XERCESJ-1110) [PATCH] System.arraycopy is more efficient, so use it
Posted by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XERCESJ-1110?page=all ]
Michael Glavassevich closed XERCESJ-1110:
-----------------------------------------
> [PATCH] System.arraycopy is more efficient, so use it
> -----------------------------------------------------
>
> Key: XERCESJ-1110
> URL: http://issues.apache.org/jira/browse/XERCESJ-1110
> Project: Xerces2-J
> Type: Improvement
> Versions: 2.7.1
> Reporter: Dave Brosius
> Assignee: Michael Glavassevich
> Priority: Trivial
> Attachments: system_arraycopy.diff
>
> System.arraycopy is much more efficient than simple for loop copying, as it's
> 1) native
> 2) avoids all array range checks except one up front.
> This patch changes this.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org
[jira] Reopened: (XERCESJ-1110) [PATCH] System.arraycopy is more
efficient, so use it
Posted by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XERCESJ-1110?page=all ]
Michael Glavassevich reopened XERCESJ-1110:
-------------------------------------------
Reopening so that I can update the fix version field.
> [PATCH] System.arraycopy is more efficient, so use it
> -----------------------------------------------------
>
> Key: XERCESJ-1110
> URL: http://issues.apache.org/jira/browse/XERCESJ-1110
> Project: Xerces2-J
> Type: Improvement
> Versions: 2.7.1
> Reporter: Dave Brosius
> Assignee: Michael Glavassevich
> Priority: Trivial
> Fix For: 2.8.0
> Attachments: system_arraycopy.diff
>
> System.arraycopy is much more efficient than simple for loop copying, as it's
> 1) native
> 2) avoids all array range checks except one up front.
> This patch changes this.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org
[jira] Closed: (XERCESJ-1110) [PATCH] System.arraycopy is more
efficient, so use it
Posted by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XERCESJ-1110?page=all ]
Michael Glavassevich closed XERCESJ-1110:
-----------------------------------------
Fix Version: 2.8.0
Resolution: Fixed
> [PATCH] System.arraycopy is more efficient, so use it
> -----------------------------------------------------
>
> Key: XERCESJ-1110
> URL: http://issues.apache.org/jira/browse/XERCESJ-1110
> Project: Xerces2-J
> Type: Improvement
> Versions: 2.7.1
> Reporter: Dave Brosius
> Assignee: Michael Glavassevich
> Priority: Trivial
> Fix For: 2.8.0
> Attachments: system_arraycopy.diff
>
> System.arraycopy is much more efficient than simple for loop copying, as it's
> 1) native
> 2) avoids all array range checks except one up front.
> This patch changes this.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org
[jira] Updated: (XERCESJ-1110) [PATCH] System.arraycopy is more efficient, so use it
Posted by "Dave Brosius (JIRA)" <xe...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XERCESJ-1110?page=all ]
Dave Brosius updated XERCESJ-1110:
----------------------------------
Attachment: system_arraycopy.diff
> [PATCH] System.arraycopy is more efficient, so use it
> -----------------------------------------------------
>
> Key: XERCESJ-1110
> URL: http://issues.apache.org/jira/browse/XERCESJ-1110
> Project: Xerces2-J
> Type: Improvement
> Versions: 2.7.1
> Reporter: Dave Brosius
> Priority: Trivial
> Attachments: system_arraycopy.diff
>
> System.arraycopy is much more efficient than simple for loop copying, as it's
> 1) native
> 2) avoids all array range checks except one up front.
> This patch changes this.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org