Skip to content

Instantly share code, notes, and snippets.

@dwilliamson
Created June 2, 2012 14:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dwilliamson/2858640 to your computer and use it in GitHub Desktop.
Save dwilliamson/2858640 to your computer and use it in GitHub Desktop.
Array assignment
// What I want
int x[8], y[8];
x = y;
// What I have to do
struct Array
{
int v[8];
};
Array x, y;
x = y; // rep movsd, even in debug builds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment