Skip to content

Instantly share code, notes, and snippets.

@ArcticEcho
Created June 13, 2014 14:00
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 ArcticEcho/f025f2efd67dcb226ccd to your computer and use it in GitHub Desktop.
Save ArcticEcho/f025f2efd67dcb226ccd to your computer and use it in GitHub Desktop.
// PFM's method.
public static unsafe void TestMethod1()
{
float* samples = stackalloc float[12500];
for (var i = 0; i < 100; i++)
{
for (var ii = 0; ii < 12500; ii++)
{
samples[ii] = 32768;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment