Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6083487
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T11:24:31+00:00 2026-05-23T11:24:31+00:00

I tried to look at the implementation of Array.Copy in C# with ILSpy but

  • 0

I tried to look at the implementation of Array.Copy in C# with ILSpy but it didn’t show me the implementation itself.

I wrote a simple benchmark, Array.Copy vs a simple for loop to copy the data.
Array.Copy was faster.

How is it implemented faster?

Thanks,
Shay

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T11:24:31+00:00Added an answer on May 23, 2026 at 11:24 am

    Same techniques used to write a fast memcpy function:

    • loop unrolling
    • transfer of aligned data in large chunks (often using SIMD)
    • CPU caching hints (SIMD helps here as well)

    See also:

    • Very fast memcpy for image processing?
    • How to increase performance of memcpy
    • does rewriting memcpy/memcmp/… with SIMD instructions make sense
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

What should data look like before data encoding in: urllib2.Request(someurl,data) I tried [('name1','value1'),('name2','value2'),...] but
I tried to look for benchmark on the performances of various filesystems with MySQL
I have tried to look everywhere for a solution but I can't seem to
I've tried to look for an answer to this, but none of the other
I wanted to look at the implementation of yield in Rails. I've tried searching
I tried to make an implementation of bubble sort, but I am not sure
This question may be look like this , but the implementation is different. i
I have tried to look at other topics with similar question like mine, and
is there any initial content of ~/.subversion/servers config file? I tried to look in
Is there an Html parser for windows 8? I tried to look into the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.