* Replaced most CSJ2K Array.Copy() calls with the faster Buffer.BlockCopy() for a ~17% speedup (LIBOMV-861)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3411 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
John Hurliman
2010-08-05 19:18:24 +00:00
parent 77e55fa488
commit 03901afe1e
19 changed files with 47 additions and 47 deletions

View File

@@ -756,7 +756,7 @@ namespace CSJ2K.j2k.entropy.decoder
/// </param>
public void resetCtxts()
{
Array.Copy(initStates, 0, I, 0, I.Length);
Buffer.BlockCopy(initStates, 0, I, 0, I.Length);
ArrayUtil.intArraySet(mPS, 0);
}